Added a new plain theme ('hugo new'-generated) and fixed an issue with character identation in hugo.toml

This commit is contained in:
2024-09-20 23:18:19 +02:00
parent 7626fe7257
commit a70479c1e6
26 changed files with 307 additions and 3 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 }}