diff options
author | Vivek R <vividvilla@gmail.com> | 2019-09-19 20:28:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-19 20:28:13 +0300 |
commit | 34844c3b3d4845d9614577c256decb58f4a49fc8 (patch) | |
tree | 481428b12b6c970d722911c4186442f90567c4a2 | |
parent | 411c986a01939b053d386441872528e790eb72f7 (diff) | |
parent | c27e660062840399ab65e8664e2e3d5981a9ef45 (diff) |
Merge pull request #14 from vividvilla/fix-build
fix: build failed due to invalid variable reference
-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"> |