2019-07-30 12:56:41 +02:00
|
|
|
{{ define "main" }}
|
2019-08-25 17:54:11 +02:00
|
|
|
<main class="container">
|
|
|
|
<header>
|
|
|
|
<h1>{{.Title}}</h1>
|
|
|
|
</header>
|
|
|
|
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
|
|
|
|
{{.Content}}
|
|
|
|
<article class="posts-list">
|
|
|
|
<!-- Ranges through content/posts/*.md -->
|
|
|
|
{{ range .Pages }}
|
2020-01-15 17:42:04 +01:00
|
|
|
<article>
|
2019-08-25 17:54:11 +02:00
|
|
|
<a href="{{.Permalink}}">{{.Title}}</a>
|
|
|
|
{{ partial "lists-footer.html" . }}
|
2020-01-15 17:42:04 +01:00
|
|
|
</article>
|
2019-08-25 17:54:11 +02:00
|
|
|
{{ end }}
|
|
|
|
</article>
|
|
|
|
</main>
|
2019-07-30 12:56:41 +02:00
|
|
|
{{ end }}
|