fix: only contents of type "blog" are listed
This commit is contained in:
parent
a59b999646
commit
bf2398c330
|
@ -1,5 +1,5 @@
|
||||||
{{ partial "top.html" . }}
|
{{ partial "top.html" . }}
|
||||||
{{ $paginator := .Paginate (where .Data.Pages "Type" "blog") }}
|
{{ $paginator := .Paginate .Data.Pages.ByPublishDate }}
|
||||||
<div class="articles-list">
|
<div class="articles-list">
|
||||||
{{ range $paginator.Pages }}
|
{{ range $paginator.Pages }}
|
||||||
<article>
|
<article>
|
||||||
|
|
Loading…
Reference in New Issue