summaryrefslogtreecommitdiff
path: root/layouts/blog/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/blog/list.html')
-rw-r--r--layouts/blog/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index 1bc9c3e..d6ab02f 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -13,7 +13,7 @@
<p>
{{ .Key }}:
<ul>
- {{ range .Pages.ByPublishDate }}
+ {{ range sort .Pages.ByPublishDate ".PublishDate" "desc" }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>