From bf5081d4eee91ed79d2dc273772a4130114e65f6 Mon Sep 17 00:00:00 2001 From: Ghyslain Leclerc Date: Wed, 28 Dec 2016 21:33:27 -0500 Subject: [PATCH] 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. --- layouts/partials/page_footer.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/page_footer.html b/layouts/partials/page_footer.html index b76e34f..19a39b5 100644 --- a/layouts/partials/page_footer.html +++ b/layouts/partials/page_footer.html @@ -6,11 +6,13 @@ {{ partial "bio.html" . }}

+ {{ if isset .Site.Author "flickrid" | and ( not ( eq .Site.Author.flickrid "" ) ) }}

Photo Stream

+ {{ end }} {{ if .Site.Params.showcopyright }}