If the FlickID parameter in the Author section in the config is not set or if it is set to the empty string, the section is not inserted in the footer.
24 lines
827 B
HTML
24 lines
827 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">
|
|
© {{ .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>
|