Add post archiving

This commit is contained in:
Ivaylo Ivanov 2024-11-29 16:07:27 +01:00
parent 44d8642e30
commit 0a7d512d2f

View File

@ -8,6 +8,7 @@
<!-- Range over the pages and only include the ones that are a post type -->
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
{{ range (.Paginate $pages).Pages }}
{{ if not (.Param "Archive") }}
<article>
<h2>
<a href="{{ .Permalink }}">
@ -33,6 +34,7 @@
</article>
{{ end }}
{{ end }}
</div>
<!-- Custom paginator -->
<div class="paginator">