change .Now to now template function in layouts/partials/footer.html

feature/cover-image
nodejh 8 years ago
parent 29f5dc9458
commit ff2a1e2433

@ -6,7 +6,7 @@
{{ with .Site.Params.copyright }}
{{ . | markdownify }}
{{ else }}
© Copyright {{.Now.Format "2006"}} <i class="fa fa-heart" aria-hidden="true"></i> {{ .Site.Params.name }}
© Copyright {{ now.Format "2006"}} <i class="fa fa-heart" aria-hidden="true"></i> {{ .Site.Params.name }}
{{ end }}
</p>
<p class="small">

Loading…
Cancel
Save