Valentin Brandl
e3bed3abf1
Some checks failed
continuous-integration/drone/push Build is failing
This reverts commit c001ba0c86
.
26 lines
612 B
HTML
26 lines
612 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="{{ .UniqueID }}" alt="{{ .Title }}">{{ .Title | markdownify }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ define "footer" }}
|
|
{{ partial "powered-by" . }}
|
|
{{ end }}
|