This commit is contained in:
Hoernschen 2024-06-19 20:45:01 +02:00
parent 6938e212ba
commit 62f343ef90
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
40 changed files with 2171 additions and 149 deletions

View file

@ -1,10 +1,15 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
<article class="content">
<div class="title">
<h1>{{ .Title }}</h1>
</div>
{{ if .Date }}
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format ":date_long" }}
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
{{ end }}
{{ .Content }}
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
</article>
{{ end }}