Add post archiving
This commit is contained in:
parent
44d8642e30
commit
0a7d512d2f
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user