Created a new test theme

This commit is contained in:
BlueFox committed 2024-09-16 22:04:15 +02:00
1 parent 5c1b8cff5a
commit 8f1d0708bd
25 files changed
+303

No files matched your search

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