Merge pull request #6 from ghlecl/master

Using the new now function instead of Now on Page object.
This commit is contained in:
Josh Johnson 2017-10-29 12:26:46 -04:00 committed by GitHub
commit bb4aa3740b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@
{{ if .Site.Params.showcopyright }} {{ if .Site.Params.showcopyright }}
<div class="footer_copyright"> <div class="footer_copyright">
&copy; {{ .Now.Format "2006" }} <a href="{{ .Site.Author.aboutpage }}">{{ .Site.Author.firstname }} {{ .Site.Author.lastname }}</a> &copy; {{ now.Format "2006" }} <a href="{{ .Site.Author.aboutpage }}">{{ .Site.Author.firstname }} {{ .Site.Author.lastname }}</a>
{{ with .Site.Author.location }} - Made in {{ . }}{{ end }} {{ with .Site.Author.location }} - Made in {{ . }}{{ end }}
</div> </div>
{{ end }} {{ end }}