From 6404f691fa0969a149340a5a1c650e9a282fd547 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Sat, 25 Mar 2017 12:09:32 +0100 Subject: Replacing deprecated function call with now preferred version (#39) Using the old call was producing the following Warning: WARNING: Page's Now is deprecated and will be removed in a future release. Use now (the template func).--- layouts/partials/sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials') diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 4bdc33e..48fec6a 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -14,6 +14,6 @@ {{end}} -

{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{.Now.Format "2006"}}. All rights reserved. {{end}}

+

{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{ now.Format "2006"}}. All rights reserved. {{end}}

-- cgit 1.4.1