fix: only contents of type "blog" are listed

This commit is contained in:
kendo5731 2017-02-13 20:17:37 +01:00
parent a59b999646
commit bf2398c330
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{{ partial "top.html" . }}
{{ $paginator := .Paginate (where .Data.Pages "Type" "blog") }}
{{ $paginator := .Paginate .Data.Pages.ByPublishDate }}
<div class="articles-list">
{{ range $paginator.Pages }}
<article>