diff options
| author | hunter@kvog.sh <hunter@kvog.sh> | 2026-06-17 21:40:13 -0500 |
|---|---|---|
| committer | Hunter Kvalevog <hunter@kvog.sh> | 2026-06-18 20:27:48 -0500 |
| commit | 7193f740cad0d6bb35778b419a8656ae8126ddf7 (patch) | |
| tree | c4de4bc21cf0d446b9bfad644623f0f2752abb63 /themes/kvog/layouts/page.html | |
| parent | 927c9cf689201b93a26e62fe0a872c92b5a33dd3 (diff) | |
Diffstat (limited to 'themes/kvog/layouts/page.html')
| -rw-r--r-- | themes/kvog/layouts/page.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/kvog/layouts/page.html b/themes/kvog/layouts/page.html new file mode 100644 index 0000000..7e286c8 --- /dev/null +++ b/themes/kvog/layouts/page.html @@ -0,0 +1,10 @@ +{{ define "main" }} + <h1>{{ .Title }}</h1> + + {{ $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 }} |