aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-07-07 14:23:40 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-07-07 14:23:40 +0200
commitbf6d3ef14163ccf834f9603cf8928d8389ddb5ed (patch)
tree00c2b500f49ba090847fcdae71570b81ef90aa6c /layouts/index.html
parent823bf651d9d07f3c05e9fbbc2e0889472eb6b7a5 (diff)
downloadgraysx-hugo-previews.tar.gz
WIP post previewspreviews
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">