Order posts by date

This commit is contained in:
2019-08-02 23:05:50 -07:00
parent 49d46a71e6
commit 2cc92a1ec6
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
<h2>{{ .Title }}</h2>
<ul>
{{ range .Pages }}
{{ range .Pages.ByDate.Reverse }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>