text build
This commit is contained in:
parent
ab5b830222
commit
bac9489433
4
build.sh
4
build.sh
@ -70,4 +70,8 @@ echo "📋 Ensuring CSS is in public directory..."
|
|||||||
mkdir -p public/css
|
mkdir -p public/css
|
||||||
cp static/css/index.css public/css/
|
cp static/css/index.css public/css/
|
||||||
|
|
||||||
|
# Also copy to the root of public for fallback
|
||||||
|
echo "📋 Also copying CSS to root of public for fallback..."
|
||||||
|
cp static/css/index.css public/index.css
|
||||||
|
|
||||||
echo "✅ Build complete. Check public/ folder."
|
echo "✅ Build complete. Check public/ folder."
|
||||||
|
@ -100,6 +100,8 @@
|
|||||||
<!-- **** CONCLUSION, favicons **** -->
|
<!-- **** CONCLUSION, favicons **** -->
|
||||||
<!-- CSS/SCSS -->
|
<!-- CSS/SCSS -->
|
||||||
<link rel="stylesheet" href="{{ get_url(path='css/index.css', trailing_slash=false, cachebust=true) | safe }}">
|
<link rel="stylesheet" href="{{ get_url(path='css/index.css', trailing_slash=false, cachebust=true) | safe }}">
|
||||||
|
<!-- Fallback CSS link in case the Zola URL function doesn't work in production -->
|
||||||
|
<link rel="stylesheet" href="/css/index.css">
|
||||||
<style>
|
<style>
|
||||||
.space-x-10>:not([hidden])~:not([hidden]){
|
.space-x-10>:not([hidden])~:not([hidden]){
|
||||||
margin-left: calc(1.5rem*calc(1 - var(--tw-space-x-reverse)))!important;
|
margin-left: calc(1.5rem*calc(1 - var(--tw-space-x-reverse)))!important;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"headers": [
|
"headers": [
|
||||||
{
|
{
|
||||||
"key": "Cache-Control",
|
"key": "Cache-Control",
|
||||||
"value": "public, max-age=2678400"
|
"value": "public, max-age=0, must-revalidate"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -44,5 +44,10 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"routes": [
|
||||||
|
{ "src": "/css/index.css", "dest": "/css/index.css" }
|
||||||
|
],
|
||||||
|
"buildCommand": "bash build.sh",
|
||||||
|
"outputDirectory": "public"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user