diff options
| author | Paul Buetow <paul@buetow.org> | 2022-02-20 10:47:50 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-02-20 10:47:50 +0000 |
| commit | 66c34c39d75d73159fe82c1d07961e0505fc8d6c (patch) | |
| tree | c34f4c8d5586525aeae4b6950ebf040f0de3b21b /src | |
| parent | 52b3acc71006dec6ab33eb1fea7897d05aef334a (diff) | |
refactor templates
Diffstat (limited to 'src')
| -rwxr-xr-x | src/photoalbum.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/photoalbum.sh b/src/photoalbum.sh index 331cf32..ebaaf71 100755 --- a/src/photoalbum.sh +++ b/src/photoalbum.sh @@ -82,7 +82,6 @@ albumhtml () { declare name="page-$num" template header "$name.html" - template header-first-add "$name.html" cd "$DIST_DIR/$photos_dir" && find ./ -type f | sort | sed 's;^\./;;' | while read -r photo; do @@ -160,7 +159,6 @@ albumindexhtml () { declare backhref='..' template 'header' 'index.html' - template 'header-first-add' 'index.html' for dir in ${dirs[*]}; do declare basename="$(basename "$dir")" @@ -177,7 +175,7 @@ albumindexhtml () { declare s='' [ $pages -gt 1 ] && s='s' export description="$pictures pictures / $pages page$s" - template 'index-preview' 'index.html' + template 'index.html' done template 'footer' 'index.html' |
