diff options
author | ben <ben@nagy.contact> | 2025-06-28 11:20:24 -0700 |
---|---|---|
committer | ben <ben@nagy.contact> | 2025-06-28 11:20:24 -0700 |
commit | a1ebb1c85ae6d749170ce4e9b18f0bdec92d27e8 (patch) | |
tree | 9983326f35a9186d82866a16ed230a5ccfbbfa11 /layouts/page.html | |
parent | 648de6962e963cd4147fa849f38d023c16a1ff49 (diff) |
bare
Diffstat (limited to 'layouts/page.html')
-rw-r--r-- | layouts/page.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/page.html b/layouts/page.html new file mode 100644 index 0000000..7e286c8 --- /dev/null +++ b/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 }} |