hugo-internet-weblog/layouts/partials/page_footer.html
Ghyslain Leclerc 8c82a5acd1 Using the new now function instead of Now on Page object.
The Page object will be deprecated in the next Hugo version (version 0.30), so
this silences a warning which will become an error in the next version.
2017-10-12 14:57:29 -04:00

24 lines
826 B
HTML

<footer>
<div class="footer_text">
<div>
<h3>Hi, <a href="{{ .Site.Author.aboutpage }}">I'm {{ .Site.Author.firstname }}</a></h3>
<p>
{{ partial "bio.html" . }}
</p>
</div>
{{ if isset .Site.Author "flickrid" | and ( not ( eq .Site.Author.flickrid "" ) ) }}
<div>
<h3><a href="https://www.flickr.com/photos/{{ .Site.Author.flickrid }}/">Photo Stream</a></h3>
<div id="photos"></div>
</div>
</div>
{{ end }}
</div>
{{ if .Site.Params.showcopyright }}
<div class="footer_copyright">
&copy; {{ now.Format "2006" }} <a href="{{ .Site.Author.aboutpage }}">{{ .Site.Author.firstname }} {{ .Site.Author.lastname }}</a>
{{ with .Site.Author.location }} - Made in {{ . }}{{ end }}
</div>
{{ end }}
</footer>