diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-11 10:49:42 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-11 10:49:42 +0300 |
| commit | 4ec261d55e9d5b1f88f3a0a37a55d1cd699d193b (patch) | |
| tree | 3768b47e11d0c54113d2871abaa16220e2edffc0 /src/lib | |
| parent | 1e7b394e56085a9cc33b8b8b64b094d5223e8853 (diff) | |
Copy favicon when refreshing splash
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/album.source.sh | 3 |
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 |
