From a8ae2c5743f105b715bb9496e7659d599dbb75ba Mon Sep 17 00:00:00 2001 From: Alexander Fallenstedt Date: Thu, 30 Dec 2021 19:10:33 -0800 Subject: display current year in footer (#54) --- layouts/partials/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') 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 }}
- {{ . | markdownify }} + {{ replace . "{Year}" now.Year | markdownify}} {{ end }} -- cgit