2020-10-10 19:09:30 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
<main>
|
|
|
|
<header class="section page-header">
|
|
|
|
<div class="container">
|
|
|
|
<h1 class="page-title">{{ .Title }}</h1>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<section class="section list">
|
|
|
|
<div class="container">
|
|
|
|
{{ range .Pages }}
|
2020-10-18 23:01:57 +00:00
|
|
|
<article class="list-item">
|
2021-12-17 10:15:19 +00:00
|
|
|
<a class="list-item__link" href="{{ .Permalink }}">
|
2020-10-18 23:01:57 +00:00
|
|
|
{{ with .Params.cover }}
|
|
|
|
<img class="list-item__image" src="{{.}}">
|
|
|
|
{{end}}
|
2020-10-10 19:09:30 +00:00
|
|
|
<h2 class="list-item__title">{{ .Title }}</h2>
|
2021-12-17 10:15:19 +00:00
|
|
|
</a>
|
2020-10-16 20:00:32 +00:00
|
|
|
<p class="list-item__summary">{{.Summary}}</p>
|
2020-10-10 19:09:30 +00:00
|
|
|
<datetime class="list-item__date">{{ .Date.Format "January 2, 2006" }}</datetime>
|
2020-10-18 23:01:57 +00:00
|
|
|
</article>
|
2020-10-10 19:09:30 +00:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</main>
|
|
|
|
{{ end }}
|