2024-06-29 22:08:20 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{ .Content }}
|
|
|
|
{{ range .Pages }}
|
|
|
|
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
2024-07-04 22:38:22 +00:00
|
|
|
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
|
|
|
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
|
|
|
<p><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></p>
|
|
|
|
<p>
|
|
|
|
{{ .Summary }}
|
|
|
|
{{- if .Truncated -}}
|
|
|
|
<a href='{{ .RelPermalink }}'>… Read more</a>
|
|
|
|
{{- end -}}
|
|
|
|
</p>
|
2024-06-29 22:08:20 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|