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

github.com/yihui/hugo-xmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Fallenstedt <a.fallenstedt@gmail.com>2021-12-31 06:10:33 +0300
committerGitHub <noreply@github.com>2021-12-31 06:10:33 +0300
commita8ae2c5743f105b715bb9496e7659d599dbb75ba (patch)
tree82b78a574666ac26ca663ee346dae5fa36985d88 /layouts
parent6d4b5dcfbfebb7d5b800c8010e623ca95026a70c (diff)
display current year in footer (#54)
Diffstat (limited to 'layouts')
-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 3f46ea5..f603e17 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -2,7 +2,7 @@
{{ partial "foot_custom.html" . }}
{{ with .Site.Params.footer }}
<hr/>
- {{ . | markdownify }}
+ {{ replace . "{Year}" now.Year | markdownify}}
{{ end }}
</footer>
</body>