From ff2a1e2433aa299ae12715e4ff3e7cc341f08061 Mon Sep 17 00:00:00 2001 From: nodejh Date: Sun, 9 Apr 2017 00:48:41 +0800 Subject: [PATCH] change .Now to now template function in layouts/partials/footer.html --- layouts/partials/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index c76a16a..0d06ef5 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -6,7 +6,7 @@ {{ with .Site.Params.copyright }} {{ . | markdownify }} {{ else }} - © Copyright {{.Now.Format "2006"}} {{ .Site.Params.name }} + © Copyright {{ now.Format "2006"}} {{ .Site.Params.name }} {{ end }}