Fix collection display order

This commit is contained in:
Justin Nguyen 2020-12-22 14:28:35 -08:00
parent 5682ad9c3b
commit 734364f330
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
</div>
{{ end }}
{{ else }}
{{ range $paginator.Pages }}
{{ range $paginator.Pages.ByDate.Reverse }}
<article class="post on-list">
<h1 class="post-title">
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>

View File

@ -5,7 +5,7 @@
</div>
{{ end }}
<div class="posts">
{{ range .Pages }}
{{ range .Pages.ByDate.Reverse }}
<article class="post on-list">
<h1 class="post-title">
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>