summaryrefslogtreecommitdiff
path: root/src/lib/config.source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/config.source.sh')
-rw-r--r--src/lib/config.source.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/config.source.sh b/src/lib/config.source.sh
index c13e807..c3c0731 100644
--- a/src/lib/config.source.sh
+++ b/src/lib/config.source.sh
@@ -39,6 +39,11 @@ apply_config_defaults() {
ORIGINAL_BASEPATH="${ORIGINAL_BASEPATH:-}"
RANDOM_SEED="${RANDOM_SEED:-}"
SHUFFLE="${SHUFFLE:-no}"
+ # SOURCE_URL is the project/source link shown in the page footer ("Site
+ # generated ... with <SOURCE_URL>"). Defaults to the shuriken.sh repo;
+ # override it per site (e.g. to the album's own repo) via config or
+ # --source-url. The footer derives the displayed text from the URL itself.
+ SOURCE_URL="${SOURCE_URL:-https://codeberg.org/snonux/shuriken.sh}"
SPLASH_PAGE="${SPLASH_PAGE:-yes}"
STATS_PAGE="${STATS_PAGE:-yes}"
SYNC_DELETE="${SYNC_DELETE:-yes}"