layouts: Get custom layouts in sync with upstream./
This commit is contained in:
parent
e0e4ccd622
commit
4c10f9ca86
1 changed files with 3 additions and 4 deletions
|
|
@ -18,8 +18,7 @@
|
||||||
<a href="{{ .Permalink }}"> {{ $name }} </a>
|
<a href="{{ .Permalink }}"> {{ $name }} </a>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</span>
|
</span> {{- end }}
|
||||||
{{- end }}
|
|
||||||
<i class="iconfont icon-timer"></i>
|
<i class="iconfont icon-timer"></i>
|
||||||
{{.ReadingTime }} min
|
{{.ReadingTime }} min
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -61,9 +60,9 @@
|
||||||
<span>{{ i18n "Words" }}:</span>
|
<span>{{ i18n "Words" }}:</span>
|
||||||
<span>{{ .WordCount }}</span>
|
<span>{{ .WordCount }}</span>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="copyright-item">
|
<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>{{ i18n "Share" }}:</span>
|
||||||
<span>{{ partial "share-links.html" . }}</span>
|
<span>{{ partial "share-links.html" . }}</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue