sort post languages
This commit is contained in:
parent
d214b9e410
commit
165ec4ca10
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue