Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Aug 19, 2019
1 parent 32bd385 commit 2a0036e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}">
Expand Down

0 comments on commit 2a0036e

Please sign in to comment.