Init: neue Webseite

This commit is contained in:
Jan Kremer 2024-03-26 15:40:28 +01:00
commit 3470b542d5
Signed by: jan
GPG key ID: A7DA689CB3B078EC
188 changed files with 7271 additions and 0 deletions

View file

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