zs-starter-template/.zs/styles
2023-03-19 12:51:32 +10:00

15 lines
204 B
Bash
Executable File

#!/bin/sh
set -e
CSS="simple style"
ext="css"
if [ -n "$ZS_PRODUCTION" ]; then
ext="min.css"
fi
for css in $CSS; do
printf "<link rel=\"stylesheet\" href=\"/css/%s.%s\">\n" "$css" "$ext"
done