commit 13ae3dfd15d1a735ac8cab7b781a53aa9c53eeb5
parent 0b9e23fa55794f03ea787419ced4eec7a716b4bd
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date: Sat, 2 Nov 2024 21:00:29 -0300
add favicon to blog pages
now `favicon.webp` gets copied from the index of the webpage to
the blog post folder when building the `html` file
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -7,3 +7,4 @@ webp_exclude
common/latest_uploads.shtml
.directory
blog/**/*.html
+blog/**/favicon.webp
diff --git a/scripts/build_page.sh b/scripts/build_page.sh
@@ -120,6 +120,7 @@ rm body.html &> /dev/null
./scripts/syntax-highlight "$dest_dir"/"$filename".html > tmp.html
mv tmp.html "$dest_dir"/"$filename".html
+cp -v ./favicon.webp "$dest_dir"/
echo "==> "$filename".html generated succesfully"
echo ""