aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 21670a4..7efe597 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -68,6 +68,14 @@
</div>
</section>
{{ end }}
+
+ <div class="posts-list">
+ {{ $pag := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }}
+ {{ range $pag.Pages }}
+ {{ partial "preview.html" . }}
+ {{ end }}
+ </div>
+
<!-- Contact-->
{{ with site.Data.homepage.contact }}
<section class="contact-section bg-black">