mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 05:15:58 -06:00
List translations on pages
This commit is contained in:
parent
0d6aed2b18
commit
47adfd5f7d
@ -20,6 +20,15 @@
|
||||
{{ 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 }}
|
||||
<span class="post-meta-item">
|
||||
{{ partialCached "icon.html" "type" "type" }}
|
||||
|
Loading…
Reference in New Issue
Block a user