From d95f6a1cd68e1730eabd08be378e51aeeacedc89 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Wed, 3 Jun 2026 10:17:52 -0400 Subject: [PATCH] update favicon --- build.sh | 4 ++-- src/{favicon.png => favicon.ico} | Bin src/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/{favicon.png => favicon.ico} (100%) diff --git a/build.sh b/build.sh index e34a1f3..e26082f 100755 --- a/build.sh +++ b/build.sh @@ -12,7 +12,7 @@ mkdir -p "$DIST" cp "$SRC/index.html" "$DIST/index.html" # Cache-bust assets by appending a content hash to filenames -for ext in css js jpeg png svg; do +for ext in css js jpeg png svg ico; do for file in "$SRC"/*."$ext"; do [ -f "$file" ] || continue name=$(basename "$file" | sed "s/\.$ext$//") @@ -29,7 +29,7 @@ for ext in css js jpeg png svg; do js) sed -i "s|src=\"${name}.${ext}\"|src=\"${newname}\"|g" "$DIST/index.html" ;; - jpeg|png|svg) + jpeg|png|svg|ico) sed -i "s|\"${name}.${ext}\"|\"${newname}\"|g" "$DIST/index.html" ;; esac diff --git a/src/favicon.png b/src/favicon.ico similarity index 100% rename from src/favicon.png rename to src/favicon.ico diff --git a/src/index.html b/src/index.html index f81023a..7fdd6b3 100644 --- a/src/index.html +++ b/src/index.html @@ -5,7 +5,7 @@ Reese Wells - Self-Hosting & Infrastructure - +