mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
fix: build failed due to invalid variable reference
This commit is contained in:
parent
41bc705e3d
commit
1cfa50c76d
|
@ -10,7 +10,7 @@
|
|||
Recent posts
|
||||
</h2>
|
||||
<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) }}
|
||||
{{ range $paginator.Pages }}
|
||||
<div class="post">
|
||||
|
|
Loading…
Reference in New Issue
Block a user