Made the Flickr images in the footer optional.
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.
This commit is contained in:
parent
e455fb9170
commit
bf5081d4ee
1 changed files with 2 additions and 0 deletions
|
@ -6,11 +6,13 @@
|
|||
{{ 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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue