sort post languages
This commit is contained in:
parent
d214b9e410
commit
165ec4ca10
@ -2,7 +2,7 @@
|
|||||||
{{ $pageLang := .Page.Lang}}
|
{{ $pageLang := .Page.Lang}}
|
||||||
<span>
|
<span>
|
||||||
<ul class="post-translations">
|
<ul class="post-translations">
|
||||||
{{ range .AllTranslations }}
|
{{ range (sort .AllTranslations ".Lang" "asc" ) }}
|
||||||
{{ if eq .Lang $pageLang }}
|
{{ if eq .Lang $pageLang }}
|
||||||
<li>
|
<li>
|
||||||
{{ upper .Lang }}
|
{{ upper .Lang }}
|
||||||
|
Loading…
Reference in New Issue
Block a user