diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-11 10:33:40 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-11 10:33:40 +0300 |
| commit | cbd3cf2be4ce50092ec4eb3f4b28d77c0aa044e4 (patch) | |
| tree | 54029b8b2e2730a56e836c6e52a6f9feef21e198 | |
| parent | 0965e395edc7c12db340c2f44debfe15a441ee62 (diff) | |
Update generated header project URL
| -rwxr-xr-x | bin/photoalbum | 2 | ||||
| -rw-r--r-- | share/templates/default/header.tmpl | 2 | ||||
| -rwxr-xr-x | src/photoalbum.sh | 2 | ||||
| -rwxr-xr-x | 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 <<END <div class="header animate-opacity"> - Site generated at ${render_current_date_text} with <a href="https://codeberg.org/snonux/photoalbum">codeberg.org/snonux/photoalbum</a> + Site generated at ${render_current_date_text} with <a href="https://codeberg.org/snonux/shuriken.sh">codeberg.org/snonux/shuriken.sh</a> - © by Paul Buetow </div> 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 '<div class="details-layout">' "$details_html" test::assert_contains '<div class="details-photo-column">' "$details_html" |
