From 2df348c5637adb124abf4f375761c80bea4293c6 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Thu, 28 Jun 2018 14:51:03 +0200 Subject: [PATCH] Make sure one can override socialShare on a page by page basis By using $.Param instead of .Site.Params, the socialShare icon settings can be overridden on a page by page basis in the Front Matter --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0c54069..7a9af29 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -13,7 +13,7 @@ {{ end }} - {{ if .Site.Params.socialShare }} + {{ if $.Param "socialShare" }}