From 1aaa6b02b5cab985ffc3e66aaceeeb91fd8bf134 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Sun, 6 Nov 2022 20:50:30 +0100 Subject: [PATCH] gitInfo: configuration of the git repository - Enables to set the git repository URL and type in the site configuration. - Updates the footer to use that information. - Updates the contact partial to use the configuration information of a custom git website. Co-Authored-by: iGor milhit --- i18n/fr.toml | 4 +++- layouts/partials/footer.html | 13 ++++++++++--- layouts/partials/online.html | 11 +++++++---- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/i18n/fr.toml b/i18n/fr.toml index fcc7210..d2500d4 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -1,3 +1,6 @@ +[lastCommit] +other = "Dernier commit modifiant cette page" + [post-infos] other = "Informations sur le billet" @@ -7,6 +10,5 @@ other = "Permalien" [contactsPriv] other = "Contacts personnels" - [contactsPro] other = "Contacts professionnels" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0b12196..48a2a19 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,7 +1,8 @@ +{{ $currentPage := . -}} +{{ $siteSources := .Site.Params.siteSources }}