layouts: Get custom layouts in sync with upstream./

This commit is contained in:
William Floyd 2022-03-17 03:15:00 -05:00
parent e0e4ccd622
commit 4c10f9ca86
Signed by untrusted user who does not match committer: william
GPG key ID: B3EEEDD81893CAF9

View file

@ -18,8 +18,7 @@
<a href="{{ .Permalink }}"> {{ $name }} </a>
{{ end -}}
{{ end }}
</span>
{{- end }}
</span> {{- end }}
<i class="iconfont icon-timer"></i>
{{.ReadingTime }} min
</div>
@ -61,9 +60,9 @@
<span>{{ i18n "Words" }}:</span>
<span>{{ .WordCount }}</span>
</p>
<p class="copyright-item">
{{ if and ( $.Param "socialShare" ) (gt (len ($.Param "share")) 0) }}
{{ if and ( $.Site.Params.socialShare ) (gt (len ($.Site.Params.share)) 0) }}
<span>{{ i18n "Share" }}:</span>
<span>{{ partial "share-links.html" . }}</span>
{{ end }}