fix: build failed due to invalid variable reference
This commit is contained in:
parent
411c986a01
commit
c27e660062
@ -10,7 +10,7 @@
|
|||||||
Recent posts
|
Recent posts
|
||||||
</h2>
|
</h2>
|
||||||
<div class="posts">
|
<div class="posts">
|
||||||
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
|
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
|
||||||
{{ $paginator := .Paginate (where $pages "Params.hidden" "ne" true) }}
|
{{ $paginator := .Paginate (where $pages "Params.hidden" "ne" true) }}
|
||||||
{{ range $paginator.Pages }}
|
{{ range $paginator.Pages }}
|
||||||
<div class="post">
|
<div class="post">
|
||||||
|
Loading…
Reference in New Issue
Block a user