mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 10:56:16 +01:00
template: Fix template to not show share
when the list is empty
This commit is contained in:
parent
2cf8a469bd
commit
ccfc0e5458
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
</p>
|
||||
{{ end }}
|
||||
</p>
|
||||
|
||||
{{ with .Site.Params.license }}
|
||||
<p class="copyright-item">
|
||||
|
|
Loading…
Reference in a new issue