summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/photoalbum2
-rw-r--r--share/templates/default/header.tmpl2
-rwxr-xr-xsrc/photoalbum.sh2
-rwxr-xr-xtests/cli.sh5
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>
-
&copy; 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"