From cbd3cf2be4ce50092ec4eb3f4b28d77c0aa044e4 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 11 Jun 2026 10:33:40 +0300 Subject: Update generated header project URL --- bin/photoalbum | 2 +- share/templates/default/header.tmpl | 2 +- src/photoalbum.sh | 2 +- tests/cli.sh | 5 +++++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/bin/photoalbum b/bin/photoalbum index f6d2b7e..33f369a 100755 --- a/bin/photoalbum +++ b/bin/photoalbum @@ -2,7 +2,7 @@ set -euo pipefail # photoalbum (c) 2011 - 2014, 2022 by Paul Buetow -# https://codeberg.org/snonux/photoalbum +# https://codeberg.org/snonux/shuriken.sh declare -r VERSION='0.7.0' declare -r DEFAULTRC="${PHOTOALBUM_DEFAULT_RC:-/etc/default/photoalbum}" diff --git a/share/templates/default/header.tmpl b/share/templates/default/header.tmpl index 4704701..7f30a77 100644 --- a/share/templates/default/header.tmpl +++ b/share/templates/default/header.tmpl @@ -211,7 +211,7 @@ END if [ "${render_show_header_bar}" = 'yes' ]; then cat < - Site generated at ${render_current_date_text} with codeberg.org/snonux/photoalbum + Site generated at ${render_current_date_text} with codeberg.org/snonux/shuriken.sh - © by Paul Buetow diff --git a/src/photoalbum.sh b/src/photoalbum.sh index 9f70fd1..45ace17 100755 --- a/src/photoalbum.sh +++ b/src/photoalbum.sh @@ -2,7 +2,7 @@ set -euo pipefail # photoalbum (c) 2011 - 2014, 2022 by Paul Buetow -# https://codeberg.org/snonux/photoalbum +# https://codeberg.org/snonux/shuriken.sh declare -r VERSION='PHOTOALBUMVERSION' declare -r DEFAULTRC="${PHOTOALBUM_DEFAULT_RC:-/etc/default/photoalbum}" diff --git a/tests/cli.sh b/tests/cli.sh index 93586a8..53acecf 100755 --- a/tests/cli.sh +++ b/tests/cli.sh @@ -2140,6 +2140,11 @@ test_integration_generates_album_outputs_and_cleans() { test::assert_contains "name='04 filename with spaces.jpg'" \ "$(<"$TEST_TMPDIR/dist/page-2.html")" test::assert_contains 'Next 2 pictures' "$page_html" + test::assert_contains \ + 'href="https://codeberg.org/snonux/shuriken.sh"' \ + "$page_html" + test::assert_contains 'codeberg.org/snonux/shuriken.sh' "$page_html" + test::assert_not_contains 'codeberg.org/snonux/photoalbum' "$page_html" test::assert_contains 'No EXIF details available.' "$details_html" test::assert_contains '
' "$details_html" test::assert_contains '
' "$details_html" -- cgit v1.2.3