summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default/dreams.html
diff options
context:
space:
mode:
authorbreadcat2020-06-28 12:58:37 +0100
committerbreadcat2020-06-28 12:58:37 +0100
commit0a707292bde7f658868ccc3790fbd1648429de67 (patch)
treebe57541923db7a2bb1a5b1817efbc0760584d605 /themes/Brine/layouts/_default/dreams.html
parent544f16afb939722c625b58480d8dbeb07fe5ff77 (diff)
downloadblog.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/dreams.html')
-rw-r--r--themes/Brine/layouts/_default/dreams.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/Brine/layouts/_default/dreams.html b/themes/Brine/layouts/_default/dreams.html
index 9f55b99..dc60178 100644
--- a/themes/Brine/layouts/_default/dreams.html
+++ b/themes/Brine/layouts/_default/dreams.html
@@ -2,13 +2,13 @@
{{ .Content }}
<details>
<summary>Dated</summary>
- <ul>{{ range .Site.Taxonomies.dream.dated}}
+ <ul>{{ range sort .Site.Taxonomies.dream.dated ".Page.RelPermalink" "desc" }}
<li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }}
</ul>
</details>
<details>
<summary>Archive</summary>
- <ul>{{ range .Site.Taxonomies.dream.undated}}
+ <ul>{{ range sort .Site.Taxonomies.dream.undated ".Page.RelPermalink" "desc" }}
<li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }}
</ul>
</details>{{ end }}