summaryrefslogtreecommitdiff
path: root/.zs/styles
blob: c51a36975afdf4027a516a2e4232efe08cc1790e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

CSS="reset main"
CSS_ZS_FILE=$(echo $ZS_FILE | sed -e 's/.[^.]*$/.css/')

for css in $CSS; do
    printf "<link rel=\"stylesheet\" href=\"/assets/css/%s.css\">\n" "$css"
done

if [ -f $(printf "assets/css/%s" "$CSS_ZS_FILE") ]; then
    printf "<link rel=\"stylesheet\" href=\"/assets/css/%s\">\n" "$CSS_ZS_FILE"
fi