commit 36d6b9a7dcf4107cf118b5185f9d864dd6763da9
parent 00ea0c5232f6e10b70d10e0b701ee84473b27f8e
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Mon, 5 Aug 2024 17:29:47 +0200
fix: link minimised CSS file upon regenerating HTML
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/git_update_index_html.sh b/bin/git_update_index_html.sh
@@ -31,7 +31,7 @@ stagit-index $REPOS > "${1}/${2}/index.html"
sed -e 's/log\.html/index.html/g' -i "${1}/${2}/index.html"
# linking assets
-ln -sf "${1}/assets/style.css" "${1}/${2}/style.css"
+ln -sf "${1}/assets/style.min.css" "${1}/${2}/style.css"
ln -sf "${1}/assets/favicon.png" "${1}/${2}/favicon.png"
ln -sf "${1}/assets/favicon.png" "${1}/${2}/logo.png"
diff --git a/bin/git_update_repo_html.sh b/bin/git_update_repo_html.sh
@@ -218,7 +218,7 @@ INJEXP="s/(<\/html>)/<script\ async\ src=\"\/assets\/js\/code_to_clipboard.js\">
find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \;
# Linking Assets ---------------------------------------------------------------
-ln -sf "${1}/assets/style.css" "${1}/${2}/${3}/style.css"
+ln -sf "${1}/assets/style.min.css" "${1}/${2}/${3}/style.css"
ln -sf "${1}/assets/favicon.png" "${1}/${2}/${3}/favicon.png"
ln -sf "${1}/assets/backicon.png" "${1}/${2}/${3}/logo.png"