Merge pull request #201 from Mitrichius/sort-post-languages
sort post languages
This commit is contained in:
commit
e4e2c0bc41
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