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).
This commit is contained in:
Oliver Schneider 2017-03-25 12:09:32 +01:00 committed by Bjørn Erik Pedersen
parent d34cfef927
commit 6404f691fa
1 changed files with 1 additions and 1 deletions

View File

@ -14,6 +14,6 @@
{{end}}
</ul>
<p>{{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}</p>
<p>{{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{ now.Format "2006"}}. All rights reserved. {{end}}</p>
</div>
</div>