From f47d362dbffbbce79ef11f4fa4ec1467846cc583 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 5 Mar 2022 12:24:15 +0000 Subject: more animations --- share/templates/default/header.tmpl | 25 ++++++++++++++++--------- src/photoalbum.sh | 19 ++++++++++--------- 2 files changed, 26 insertions(+), 18 deletions(-) diff --git a/share/templates/default/header.tmpl b/share/templates/default/header.tmpl index 29f994d..29c24d1 100644 --- a/share/templates/default/header.tmpl +++ b/share/templates/default/header.tmpl @@ -22,7 +22,6 @@ cat < @@ -64,7 +71,7 @@ END if [ "${show_header_bar}" = 'yes' ]; then cat < +
Site generated at $(date) with codeberg.org/foozone/photoalbum - © by Paul Buetow diff --git a/src/photoalbum.sh b/src/photoalbum.sh index d4c6bd1..882b437 100755 --- a/src/photoalbum.sh +++ b/src/photoalbum.sh @@ -93,14 +93,15 @@ randomphoto () { } random_animation_css_class () { + local -r speed="$1"; shift cat <