2024-06-25 20:39:48 -04:00
|
|
|
{{ define "main" }}
|
2024-06-25 20:55:21 -04:00
|
|
|
<hgroup>
|
2024-06-25 20:39:48 -04:00
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{ .Content }}
|
2024-06-25 20:55:21 -04:00
|
|
|
</hgroup>
|
2024-06-25 20:39:48 -04:00
|
|
|
{{ range .Pages }}
|
|
|
|
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
|
|
|
{{ $dateHuman := .Date.Format "January 2, 2006" }}
|
|
|
|
{{ $dateMachine := .Date.Format "2006-01-02T15:04:05-07:00" }}
|
2024-06-25 20:55:21 -04:00
|
|
|
<p><b>reading time:</b> {{ lower .ReadingTime }} mins</p>
|
2024-06-25 20:39:48 -04:00
|
|
|
<p><b>first posted:</b> <time datetime="{{ $dateMachine }}">{{ lower $dateHuman }}</time></p>
|
|
|
|
<caption><blockquote>{{ .Description }}</blockquote></caption>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|