forked from Bunteshaus/bunteshaus.de
16 lines
581 B
HTML
16 lines
581 B
HTML
{{ if ne .context.Content "" }}
|
|
{{ partial "snippets/content" (dict "content" .context.Content) }}
|
|
{{ end }}
|
|
<div>
|
|
{{ $pages := where site.RegularPages "Type" "in" site.Params.searchSections }}
|
|
{{ range $pages.GroupByDate "2006" }}
|
|
<h2>{{ .Key }}</h2>
|
|
{{ range .Pages.GroupByDate "January" }}
|
|
<h3 style="margin-left: 1em;">{{ .Key }}:</h3>
|
|
{{ range .Pages }}
|
|
<h4 style="margin-left: 2em;">{{ .Date.Format "02.01.2006" }} <a href="{{ .Permalink }}" class="underline">{{ .Title }}</a></h4>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|