Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Le Duigou <jb.leduigou@gmail.com>2022-02-09 08:55:32 +0300
committerGitHub <noreply@github.com>2022-02-09 08:55:32 +0300
commit1e951589ef2020b47997f4e91a6f6f174631a68f (patch)
tree33ac885e3271d4e034096a34c698965a121bb083
parent896db21fa58a4ed38cc3817af43deaf7f70b595f (diff)
[enhancement] Fix year in copyright notice (#528)
* Fix link to email address See https://github.com/hossainemruz/toha/issues/7 * fix: 🐛 year of copyright notice should be generated
-rw-r--r--layouts/partials/footer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 8503784..699c4a5 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -32,7 +32,7 @@
{{ $customMenus = (index site.Data site.Language.Lang).site.customMenus }}
{{ end }}
- {{ $copyrightNotice := "© 2021 Copyright."}}
+ {{ $copyrightNotice := now.Format "2006" | printf "© %s Copyright."}}
{{ if (index site.Data site.Language.Lang).site }}
{{ $siteConfig := (index site.Data site.Language.Lang).site }}
{{ if $siteConfig.copyright }}