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

github.com/themefisher/kross-hugo-portfolio-template.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 1904a9e..7bc4e47 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -265,7 +265,7 @@
<div class="col-12 text-center">
<h2 class="section-title">{{site.Data.homepage.blog.title | markdownify }}</h2>
</div>
- {{ range first 3 site.RegularPages }}
+ {{ range first 3 (where .Site.RegularPages "Section" "blog")}}
{{ .Render "post" }}
{{ end }}
</div>