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/list.html Normal file
View file

@ -0,0 +1,20 @@
{{ define "main" }}
{{ .Content }}
<div class="list">
<ul>
{{ range .Pages }}
<li>
<a href="{{ .RelPermalink }}" style="display: block">
<h2>{{ .Title }}</h2>
<p class="lead">{{ .Description }}</p>
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format ":date_long" }}
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
</a>
</li>
{{ end }}
</ul>
</div>
{{ end }}