2019-07-30 12:56:41 +02:00
|
|
|
{{ define "main" }}
|
2019-07-31 18:43:51 +02:00
|
|
|
<main class="container">
|
2019-07-30 12:56:41 +02:00
|
|
|
<header>
|
|
|
|
<h1>{{.Title}}</h1>
|
|
|
|
</header>
|
|
|
|
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
|
|
|
|
{{.Content}}
|
2019-07-31 18:43:51 +02:00
|
|
|
<article>
|
2019-07-30 12:56:41 +02:00
|
|
|
<!-- Ranges through content/posts/*.md -->
|
|
|
|
{{ range .Pages }}
|
2019-07-31 18:43:51 +02:00
|
|
|
<article>
|
|
|
|
<a href="{{.Permalink}}">{{.Title}}</a>
|
|
|
|
— {{.Date.Format "2006-01-02"}}
|
|
|
|
</article>
|
2019-07-30 12:56:41 +02:00
|
|
|
{{ end }}
|
2019-07-31 18:43:51 +02:00
|
|
|
</article>
|
2019-07-30 12:56:41 +02:00
|
|
|
</main>
|
|
|
|
{{ end }}
|