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
|
@ -14,6 +14,6 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
</ul>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue