From cff55fcf44d083e9ba0405aa6c24938679d061b2 Mon Sep 17 00:00:00 2001 From: ktyl Date: Sat, 8 Jun 2024 12:13:15 +0100 Subject: [PATCH] feat: add favicon to site pages --- makefile | 3 ++- src/inc_html/header.html | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index c012f2f..5fd9527 100644 --- a/makefile +++ b/makefile @@ -34,6 +34,7 @@ vn: $(VN) | $(OUT_DIR) cp -r $(VN) $(OUT_DIR)/vn html: $(HTML_TARGETS) $(CSS_TARGETS) | $(OUT_DIR) + cp $(IMG_DIR)/*.ico $(OUT_DIR)/ cp $(IMG_DIR)/*.png $(OUT_DIR)/ cp $(IMG_DIR)/*.jpg $(OUT_DIR)/ @@ -64,7 +65,7 @@ blog: $(HTML_INCLUDES) $(CSS_TARGETS) for page in `find "$(BLOG_OUT_DIR)" -wholename "*.html"`; do \ pipenv run python ppp/ppp.py $$page $(HTML_INCLUDES) > temp ; \ mv temp $$page ; \ - cp $(CSS_TARGETS) `dirname $$page` ; \ + cp $(CSS_TARGETS) $(IMG_DIR)/*.ico `dirname $$page` ; \ done clean: diff --git a/src/inc_html/header.html b/src/inc_html/header.html index 64f61a8..b6d0e75 100644 --- a/src/inc_html/header.html +++ b/src/inc_html/header.html @@ -6,6 +6,7 @@ +