hugo-internet-weblog/layouts/partials/page_footer.html
Ghyslain Leclerc 8262ab6f2d Made the theme compatible with Hugo 0.18.
At least in Hugo 0.18 (I don't know for prior versions), the variables in the
templates are all set to lowercase even if they are not lowercase in the
config file.

For instance, for a configuration as follows:
[Author]
   Handle = "bla"
the variable must be used as .Site.Author.handle and not .Site.Author.Handle.
2016-12-28 21:17:35 -05:00

22 lines
720 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>
<div>
<h3><a href="https://www.flickr.com/photos/{{ .Site.Author.flickrid }}/">Photo Stream</a></h3>
<div id="photos"></div>
</div>
</div>
</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>