mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 19:06:16 +01:00
Merge pull request #26 from sarathsp06/master
template: Fix template to not show `share` when the list is empty
This commit is contained in:
commit
3e2972c318
1 changed files with 2 additions and 2 deletions
|
@ -63,11 +63,11 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="copyright-item">
|
<p class="copyright-item">
|
||||||
{{ if $.Param "socialShare" }}
|
{{ if and ( $.Param "socialShare" ) (gt (len ($.Param "share")) 0) }}
|
||||||
<span>{{ i18n "Share" }}:</span>
|
<span>{{ i18n "Share" }}:</span>
|
||||||
<span>{{ partial "share-links" . }}</span>
|
<span>{{ partial "share-links" . }}</span>
|
||||||
</p>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</p>
|
||||||
|
|
||||||
{{ with .Site.Params.license }}
|
{{ with .Site.Params.license }}
|
||||||
<p class="copyright-item">
|
<p class="copyright-item">
|
||||||
|
|
Loading…
Reference in a new issue