summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-11 10:49:42 +0300
committerPaul Buetow <paul@buetow.org>2026-06-11 10:49:42 +0300
commit4ec261d55e9d5b1f88f3a0a37a55d1cd699d193b (patch)
tree3768b47e11d0c54113d2871abaa16220e2edffc0 /src/lib
parent1e7b394e56085a9cc33b8b8b64b094d5223e8853 (diff)
Copy favicon when refreshing splash
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/album.source.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/album.source.sh b/src/lib/album.source.sh
index 0f67396..704db34 100644
--- a/src/lib/album.source.sh
+++ b/src/lib/album.source.sh
@@ -949,7 +949,8 @@ refresh_splash() {
tmp_path=$(mktemp "$DIST_DIR/.index.html.XXXXXX")
tmp_html=$(basename "$tmp_path")
- if render_album_splash_page 'photos' '.' 'blurs' '.' "$tmp_html"; then
+ if render_album_splash_page 'photos' '.' 'blurs' '.' "$tmp_html" \
+ && prepare_generation_site_assets; then
mv "$DIST_DIR/$tmp_html" "$DIST_DIR/index.html"
log_info "Refreshed splash page $(_display_path "$DIST_DIR/index.html")"
return