Merge pull request #301 from bobek/master
Use Site.RegularPages for index
This commit is contained in:
commit
1d75ccd689
@ -9,7 +9,7 @@
|
||||
{{ end }}
|
||||
|
||||
<div class="posts-list">
|
||||
{{ $pag := .Paginate (where .Data.Pages "Type" "post") }}
|
||||
{{ $pag := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }}
|
||||
{{ range $pag.Pages }}
|
||||
<article class="post-preview">
|
||||
<a href="{{ .Permalink }}">
|
||||
|
Loading…
x
Reference in New Issue
Block a user