mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -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