12 lines
399 B
HTML
12 lines
399 B
HTML
{{ define "main" }}
|
|
<h2>{{ .Title }}</h2>
|
|
{{ .Content }} {{ range .Pages }}
|
|
<h3><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h3>
|
|
<p>
|
|
{{ .ReadingTime }} mins · {{ $dateMachine := .Date | time.Format
|
|
"2006-01-02T15:04:05-07:00" }} {{ $dateHuman := .Date | time.Format
|
|
":date_long" }}
|
|
|
|
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
|
</p>
|
|
{{ .Summary }} {{ end }} {{ end }}
|