Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vividvilla/ezhil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek R <vividvilla@gmail.com>2019-09-19 20:28:13 +0300
committerGitHub <noreply@github.com>2019-09-19 20:28:13 +0300
commit34844c3b3d4845d9614577c256decb58f4a49fc8 (patch)
tree481428b12b6c970d722911c4186442f90567c4a2
parent411c986a01939b053d386441872528e790eb72f7 (diff)
parentc27e660062840399ab65e8664e2e3d5981a9ef45 (diff)
Merge pull request #14 from vividvilla/fix-build
fix: build failed due to invalid variable reference
-rw-r--r--layouts/index.html2
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">