wip own theme

This commit is contained in:
Vinzenz Schroeter 2025-06-01 13:44:31 +02:00
parent da2b589ad0
commit d400466ad6
24 changed files with 254 additions and 32 deletions

View file

@ -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 }}