2017-04-07 16:50:21 +02:00
|
|
|
{{ define "title" -}}
|
|
|
|
{{ .Params.name }} | {{ .Site.Title }}
|
|
|
|
{{- end }}
|
|
|
|
{{ define "header" }}
|
2019-08-10 02:41:46 +02:00
|
|
|
{{ partial "masthead" . }}
|
2017-04-07 16:50:21 +02:00
|
|
|
{{ 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>
|
2024-07-14 16:30:01 +02:00
|
|
|
<a href="{{ .Permalink }}" id="{{ .UniqueID }}" alt="{{ .Title }}">{{ .Title | markdownify }}</a>
|
2017-04-07 16:50:21 +02:00
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ define "footer" }}
|
|
|
|
{{ partial "powered-by" . }}
|
2019-08-10 02:41:46 +02:00
|
|
|
{{ end }}
|