2020-07-13 21:26:05 +00:00
|
|
|
{{ define "main" }}
|
2020-08-18 00:59:27 +00:00
|
|
|
<main id="list">
|
|
|
|
<h1>
|
|
|
|
{{ cond (ne .Type "page") .Type "Posts" }}
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
{{ range .Pages }}
|
|
|
|
<section>
|
2020-08-19 19:04:04 +00:00
|
|
|
<time>
|
|
|
|
{{ .PublishDate.Format "2006 Jan 2" }}
|
|
|
|
</time>
|
2020-08-18 00:59:27 +00:00
|
|
|
<h2>
|
|
|
|
<a href="{{ .RelPermalink }}" class="wa link">
|
|
|
|
<span>{{ .Title }}</span>
|
|
|
|
<b class="arrow"></b>
|
|
|
|
</a>
|
|
|
|
</h2>
|
|
|
|
<h3>
|
2020-08-19 19:04:04 +00:00
|
|
|
Written by {{ .Params.author }} on {{ .PublishDate.Format "January 2, 2006" }}
|
2020-08-18 00:59:27 +00:00
|
|
|
·
|
|
|
|
{{ .ReadingTime }} minute read
|
|
|
|
</h3>
|
|
|
|
<p>
|
|
|
|
{{ .Summary }}
|
|
|
|
</p>
|
|
|
|
</section>
|
|
|
|
{{ end }}
|
|
|
|
</main>
|
2020-07-13 21:26:05 +00:00
|
|
|
{{ end }}
|