vbrandl.net/layouts/archive/single.html
Valentin Brandl 2923042243
All checks were successful
continuous-integration/drone/push Build is passing
Update
2024-07-14 16:39:16 +02:00

26 lines
617 B
HTML

{{ define "title" -}}
{{ .Params.name }} | {{ .Site.Title }}
{{- end }}
{{ define "header" }}
{{ partial "masthead" . }}
{{ end }}
{{ define "main" }}
<header>
<h1>{{ .Title }}</h1>
</header>
{{ range (where .Site.RegularPages "Section" "post").GroupByDate "2006" }}
<h2>{{ .Key }}</h2>
<ul>
{{ range .Pages }}
<li>
<span>{{ .Date.Format "02 Jan" }}</span>
<a href="{{ .Permalink }}" id="{{ .File.UniqueID }}" alt="{{ .Title }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>
{{ end }}
{{ end }}
{{ define "footer" }}
{{ partial "powered-by" . }}
{{ end }}