small fixes

This commit is contained in:
teldra 2022-06-15 10:43:51 +02:00
parent e6c1754bd3
commit 26607ea60a
1 changed files with 3 additions and 3 deletions

View File

@ -4,11 +4,11 @@
<div>
{{ $pages := where site.RegularPages "Type" "in" site.Params.searchSections }}
{{ range $pages.GroupByDate "2006" }}
<h2>{{ .Key }}</h2>
<h3>{{ .Key }}</h3>
{{ range .Pages.GroupByDate "January" }}
<h3 style="margin-left: 1em;">{{ .Key }}:</h3>
<h4 style="margin-left: 1em;">{{ .Key }}:</h4>
{{ range .Pages }}
<h4 style="margin-left: 2em;">{{ .Date.Format "02.01.2006" }} <a href="{{ .Permalink }}" class="underline">{{ .Title }}</a></h4>
<div style="margin-left: 2em;">{{ .Date.Format "02.01.2006" }} <a href="{{ .Permalink }}" class="underline">{{ .Title }}</a></div>
{{ end }}
{{ end }}
{{ end }}