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:
parent
d34cfef927
commit
6404f691fa
1 changed files with 1 additions and 1 deletions
|
@ -14,6 +14,6 @@
|
|||
{{end}}
|
||||
</ul>
|
||||
|
||||
<p>{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{.Now.Format "2006"}}. All rights reserved. {{end}}</p>
|
||||
<p>{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{ now.Format "2006"}}. All rights reserved. {{end}}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue