2019-07-08 07:05:23 +02:00
|
|
|
{{ define "main" }}
|
2019-08-25 17:54:11 +02:00
|
|
|
<header>
|
2021-10-29 22:34:24 +02:00
|
|
|
<h2>{{.Title}}</h2>
|
2020-01-15 17:42:04 +01:00
|
|
|
</header>
|
2022-11-14 18:21:38 +01:00
|
|
|
<!-- "{{.Content}}" pulls from the markdown content of the corresponding
|
|
|
|
_index.md -->
|
2024-09-02 19:58:59 +02:00
|
|
|
<main>
|
2019-08-25 17:54:11 +02:00
|
|
|
<header>
|
|
|
|
{{.Content }}
|
|
|
|
</header>
|
2024-09-02 19:58:59 +02:00
|
|
|
<section class="posts-list">
|
2022-11-14 18:21:38 +01:00
|
|
|
<!--
|
|
|
|
Ranges pages by the publish date, in reverse order, to display the
|
|
|
|
post titles of the section from most recent to older. It adds to
|
2024-12-08 08:55:51 +01:00
|
|
|
the title the date and categories (from lists-footer.html).
|
2022-11-14 18:21:38 +01:00
|
|
|
-->
|
2019-08-25 17:54:11 +02:00
|
|
|
{{ range .Pages.ByPublishDate.Reverse }}
|
|
|
|
<article>
|
2024-12-08 08:55:51 +01:00
|
|
|
<a href="{{ .Permalink }}">
|
2019-08-25 17:54:11 +02:00
|
|
|
{{.Title}}
|
|
|
|
</a>
|
|
|
|
{{ partial "lists-footer.html" . }}
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
2024-09-02 19:58:59 +02:00
|
|
|
</section>
|
|
|
|
</main>
|
2019-07-08 07:05:23 +02:00
|
|
|
{{ end }}
|