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
This commit is contained in:
Paul Bakker 2018-06-28 14:51:03 +02:00
commit 2df348c563

View file

@ -13,7 +13,7 @@
</div>
{{ end }}
{{ if .Site.Params.socialShare }}
{{ if $.Param "socialShare" }}
<hr/>
<section id="social-share">
<ul class="list-inline footer-links">