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

github.com/coderzh/hugo-pacman-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 5352bb4..fd7697a 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -5,7 +5,7 @@
</header>
<div id="container">
<div id="main">
- {{ range $index,$data := first 10 (where .Data.Pages "Type" "post") }}
+ {{ range $index,$data := first 10 (where site.RegularPages "Type" "post") }}
{{ partial "article.html" $data }}
{{ end }}
<nav id="page-nav" class="clearfix">