summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
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