From 74a0b3218743470c435a462fc1b388697a3b234c Mon Sep 17 00:00:00 2001 From: Raphael Bitton Date: Fri, 10 Oct 2025 02:04:11 -0500 Subject: [PATCH] added source code link to footer --- src/config.toml | 2 ++ src/templates/partials/footer.html | 49 ++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 src/templates/partials/footer.html diff --git a/src/config.toml b/src/config.toml index 0b24e94..fe4331f 100644 --- a/src/config.toml +++ b/src/config.toml @@ -29,3 +29,5 @@ main_menu = [ copyright = "© $YEAR $AUTHOR" favicon_emoji = "🐧" + +source_code = "https://git.rbitton.com/rbitton/Website" diff --git a/src/templates/partials/footer.html b/src/templates/partials/footer.html new file mode 100644 index 0000000..1c6cbab --- /dev/null +++ b/src/templates/partials/footer.html @@ -0,0 +1,49 @@ +{%- if config.generate_feeds or config.extra.socials -%} +
+ +
+{% endif -%} + +{%- if config.extra.copyright -%} + +{% else -%} + +{% endif -%}