summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/photoalbum3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/photoalbum b/bin/photoalbum
index 065793f..656d208 100755
--- a/bin/photoalbum
+++ b/bin/photoalbum
@@ -2268,7 +2268,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