2024-07-04 13:39:15 -04:00
|
|
|
{{ define "main" }}
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{ $dateHuman := .Date.Format "January 2, 2006" }}
|
|
|
|
{{ $dateMachine := .Date.Format "2006-01-02T15:04:05-07:00" }}
|
|
|
|
{{ $lastUpdated := .Lastmod.Format "January 2, 2006" }}
|
|
|
|
{{ $lastMachine := .Lastmod.Format "2006-01-02T15:04:05-07:00" }}
|
|
|
|
<blockquote>
|
|
|
|
<p><b>reading time:</b> {{ lower .ReadingTime }} mins</p>
|
|
|
|
<p><b>first posted:</b> <time datetime="{{ $dateMachine }}">{{ lower $dateHuman }}</time></p>
|
2024-07-08 13:34:43 -04:00
|
|
|
{{ if ne $lastUpdated $lastMachine }}
|
2024-07-04 13:39:15 -04:00
|
|
|
<p><b>last updated:</b> <time datetime="{{ $lastMachine }}">{{ lower $lastUpdated }}</time></p>
|
|
|
|
{{ end }}
|
|
|
|
</blockquote>
|
|
|
|
{{ .Content }}
|
2024-07-08 13:34:43 -04:00
|
|
|
test
|
2024-07-04 13:39:15 -04:00
|
|
|
{{ end }}
|