meta: Add Atom feed

This commit is contained in:
Jan Kremer 2026-01-21 20:16:43 +01:00
parent 67bb8ddac9
commit 321309971c
No known key found for this signature in database
21 changed files with 146 additions and 86 deletions

20
layouts/single.html Normal file
View file

@ -0,0 +1,20 @@
{{ define "main" }}
<article>
{{ $dateHuman := .Date | time.Format ":date_long" }}
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $lastmodDateHuman := .Lastmod | time.Format ":date_long" }}
{{ $lastmodDateMachine := .Lastmod | time.Format "2006-01-02T15:04:05-07:00" }}
<div class="dates">
<p>
Editiert:
<time datetime="{{ $lastmodDateMachine }}"
>{{ $lastmodDateHuman }}</time
>
</p>
<p><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></p>
</div>
<h1>{{ .Title }}</h1>
<p class="lead">{{ .Description }}</p>
{{ .Content }}
</article>
{{ end }}