summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index b4fc8f8..617645c 100755
--- a/build.sh
+++ b/build.sh
@@ -38,7 +38,8 @@ sed -i s/'{TITLE}'/"${title}"/ ${output}
link_stylesheets=''
for s in "${stylesheets[@]}"
do
- link_stylesheets+=$(printf '<link rel="stylesheet" href="%s.css">\n' "${s}")
+ link_template='<link rel="stylesheet" href="stylesheets/%s.css">\n'
+ link_stylesheets+=$(printf "${link_template}" "${s}")
done
sed -i /'{STYLESHEETS}'/'c\'"${link_stylesheets}" ${output}