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:
parent
e78f3c8de9
commit
2df348c563
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.socialShare }}
|
||||
{{ if $.Param "socialShare" }}
|
||||
<hr/>
|
||||
<section id="social-share">
|
||||
<ul class="list-inline footer-links">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue