mirror of
https://git.mills.io/prologic/zs-starter-template.git
synced 2024-11-23 13:56:03 +03:00
Fix styles and scripts
This commit is contained in:
parent
b089b17b93
commit
ede1c4c737
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user