mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
List translations on pages
This commit is contained in:
parent
0d6aed2b18
commit
47adfd5f7d
@ -20,6 +20,15 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if .IsTranslated }}
|
||||||
|
<span class="post-meta-item">
|
||||||
|
{{ partialCached "icon.html" "globe" "globe" }}
|
||||||
|
{{ range .Translations }}
|
||||||
|
<a href="{{ .Permalink }}">{{ .Language }}</a>
|
||||||
|
{{ end }}
|
||||||
|
</span>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.wordcount }}
|
{{ if .Site.Params.wordcount }}
|
||||||
<span class="post-meta-item">
|
<span class="post-meta-item">
|
||||||
{{ partialCached "icon.html" "type" "type" }}
|
{{ partialCached "icon.html" "type" "type" }}
|
||||||
|
Loading…
Reference in New Issue
Block a user