Merge pull request #26 from sarathsp06/master

template: Fix template to not show `share` when the list is empty
This commit is contained in:
Giuseppe Pignataro
2019-05-14 09:09:36 +02:00
committed by GitHub

View File

@@ -63,11 +63,11 @@
</p>
<p class="copyright-item">
{{ if $.Param "socialShare" }}
{{ if and ( $.Param "socialShare" ) (gt (len ($.Param "share")) 0) }}
<span>{{ i18n "Share" }}:</span>
<span>{{ partial "share-links" . }}</span>
{{ end }}
</p>
{{ end }}
{{ with .Site.Params.license }}
<p class="copyright-item">