32bit.cafe/layouts/news/single.html

11 lines
325 B
HTML
Raw Permalink Normal View History

2024-05-01 00:33:01 +00:00
{{ define "main" }}
2024-05-10 19:26:39 +00:00
<h2>{{ .Title }}</h2>
2024-05-01 00:33:01 +00:00
{{ $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 }}