This commit is contained in:
2025-05-04 13:40:31 +02:00
parent afd8edaa6c
commit 92d272b36e
10 changed files with 293 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{{ define "list" }} {{/* ausführbarer EntryPoint */}}
{{ template "base.html" . }} {{/* ruft das Layout auf */}}
{{ end }}
{{ define "title" }}Alle Artikel{{ end }}
{{ define "body" }}
<ul>
{{ range . }}
<li>
<a href="/post/{{ .Slug }}">{{ .Title }}</a>
— {{ .Date.Format "02.01.2006" }}
</li>
{{ end }}
</ul>
{{ end }}