diff options
author | breadcat | 2020-06-28 12:58:37 +0100 |
---|---|---|
committer | breadcat | 2020-06-28 12:58:37 +0100 |
commit | 0a707292bde7f658868ccc3790fbd1648429de67 (patch) | |
tree | be57541923db7a2bb1a5b1817efbc0760584d605 /themes/Brine/layouts/_default/languages.html | |
parent | 544f16afb939722c625b58480d8dbeb07fe5ff77 (diff) | |
download | blog.minskio.co.uk-0a707292bde7f658868ccc3790fbd1648429de67.tar.gz blog.minskio.co.uk-0a707292bde7f658868ccc3790fbd1648429de67.tar.bz2 blog.minskio.co.uk-0a707292bde7f658868ccc3790fbd1648429de67.zip |
Sort range pages
Diffstat (limited to 'themes/Brine/layouts/_default/languages.html')
-rw-r--r-- | themes/Brine/layouts/_default/languages.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/Brine/layouts/_default/languages.html b/themes/Brine/layouts/_default/languages.html index 398572c..2bf288b 100644 --- a/themes/Brine/layouts/_default/languages.html +++ b/themes/Brine/layouts/_default/languages.html @@ -1,5 +1,5 @@ {{ define "main" }} <h1>{{ .Title }}</h1> {{ .Content }} - <ul>{{ range .Site.Taxonomies.language.dictionary}} + <ul>{{ range sort .Site.Taxonomies.language.dictionary ".Page.RelPermalink" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul>{{ end }} |