Theme Base Structure

This commit is contained in:
juhnsa committed 2025-07-22 15:04:27 +02:00
1 parent d5b8f35393
commit 3aaa1c50a1
23 files changed
+275

No files matched your search

+10
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 }}