smolboi/layouts/_default/single.html

12 lines
341 B
HTML
Raw Permalink Normal View History

2024-07-08 21:34:47 +00:00
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .ReadingTime }} mins · {{ $dateMachine := .Date | time.Format
"2006-01-02T15:04:05-07:00" }} {{ $dateHuman := .Date | time.Format ":date_long"
}}
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
{{ .Content }} {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} {{
end }}