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