From 82281f93ca27bc8b76795e3172fbf0693944af41 Mon Sep 17 00:00:00 2001 From: Bruno Carlin Date: Sun, 6 Jul 2025 14:22:12 +0200 Subject: [PATCH] feat(theme): add a link to the source in the footer --- i18n/en.yaml | 3 +++ i18n/fr.yaml | 3 +++ layouts/_partials/footer.html | 2 ++ 3 files changed, 8 insertions(+) diff --git a/i18n/en.yaml b/i18n/en.yaml index 59d3bf3..23c648a 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -20,3 +20,6 @@ warning_icon: Warning icon translations: Translations also_available_in: "Also available in:" table_of_contents: "Contents:" +source_code: | + The source of this site is available on + my software forge. diff --git a/i18n/fr.yaml b/i18n/fr.yaml index baff459..9e3fd1b 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -20,3 +20,6 @@ warning_icon: Icône attention translations: Traductions also_available_in: "Également disponible en :" table_of_contents: "Contenu :" +source_code: | + Les sources de ce site sont disponibles sur + ma forge logicielle. diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html index a0f4b73..903a587 100644 --- a/layouts/_partials/footer.html +++ b/layouts/_partials/footer.html @@ -11,4 +11,6 @@ {{partial "icon.html" (dict "icon" "creative-commons-nc-fill" "label" "Creative Commons Non Commercial Logo")}}
{{ T "generated_with_hugo" | safeHTML }} +
+ {{ T "source_code" | safeHTML }}