diff options
Diffstat (limited to 'layouts/home.html')
| -rw-r--r-- | layouts/home.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/home.html b/layouts/home.html index cdf2d01..3056518 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -12,9 +12,9 @@ </ul> </nav> {{ end -}} - {{ if .Site.RegularPages -}} + {{ with (where .Site.RegularPages "Section" "entry").ByPublishDate.Reverse -}} <h2>{{ i18n "journalEntries" }}</h2> - {{ range (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse -}} + {{ range . -}} {{ partial "metadata.html" . }} {{ end -}} {{ end -}} |
