diff options
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index adfe375..5b5d87a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -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"> |