small fixes

This commit is contained in:
teldra 2022-06-15 10:49:11 +02:00
parent 26607ea60a
commit dd47c85097
1 changed files with 2 additions and 2 deletions

View File

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