2021-05-18 17:07:00 +02:00
|
|
|
{{ define "main" }}
|
2023-06-27 18:01:47 +02:00
|
|
|
<!-- Default list used for homepage and taxonomy pages (e.g. tags),
|
|
|
|
but not for sections (see section.html template) -->
|
2022-11-05 23:12:24 +01:00
|
|
|
<div class="section pt-5">
|
2021-05-26 19:03:43 +02:00
|
|
|
<div class="container is-max-widescreen">
|
|
|
|
<main>
|
|
|
|
<div class="columns is-multiline">
|
2023-06-27 18:01:47 +02:00
|
|
|
<!-- Custom paginator with only blog posts (e.g. avoid "À propos"),
|
|
|
|
ordered from newest to oldest -->
|
|
|
|
{{ $paginator := .Paginator }}
|
2021-05-26 19:03:43 +02:00
|
|
|
{{ range $paginator.Pages }}
|
|
|
|
{{ if (eq .FirstSection.Section "posts")}}
|
|
|
|
<div class="column is-variable is-one-third">
|
|
|
|
{{ .Render "summary" }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{- partial "pagination.html" $paginator -}}
|
|
|
|
</main>
|
|
|
|
</div>
|
2021-05-25 00:07:23 +02:00
|
|
|
</div>
|
2021-05-18 17:07:00 +02:00
|
|
|
{{ end }}
|