Fix styles and scripts

This commit is contained in:
James Mills 2023-04-01 12:08:25 +10:00
parent b089b17b93
commit ede1c4c737
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6
2 changed files with 2 additions and 12 deletions

View File

@ -9,11 +9,6 @@ if [ -z "$ZS_PRODUCTION" ]; then
JS="$JS live"
fi
ext="js"
if [ -n "$ZS_PRODUCTION" ]; then
ext="min.js"
fi
for js in $JS; do
printf "<script type=\"application/javascript\" src=\"/assets/js/%s.%s\"></script>\n" "$js" "$ext"
printf "<script type=\"application/javascript\" src=\"/assets/js/%s.js\"></script>\n" "$js"
done

View File

@ -4,11 +4,6 @@ set -e
CSS="bahunya highlight site"
ext="css"
if [ -n "$ZS_PRODUCTION" ]; then
ext="min.css"
fi
for css in $CSS; do
printf "<link rel=\"stylesheet\" href=\"/assets/css/%s.%s\">\n" "$css" "$ext"
printf "<link rel=\"stylesheet\" href=\"/assets/css/%s.css\">\n" "$css"
done