1
Fork 0

Change headings on list page to use proper hierarchy

This commit is contained in:
Jake Howard 2021-12-27 10:46:55 +00:00
parent a22dfd85e9
commit 5d56ca8ad2
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@
{{ end }}
<div class="media-body">
<a href="{{ .RelPermalink }}" title="{{ .Title }}">
<h5 class="my-0">{{ .Title }}</h5>
<h3 class="my-0 h5">{{ .Title }}</h3>
</a>
<small>{{ partial "content-details.html" . }}</small>
<p>{{ partial "summary.html" . }}</p>

View file

@ -14,11 +14,11 @@
{{ range .Pages.GroupByDate "2006-01" }}
{{ $month := print .Key "-01" }}
{{ $display := dateFormat "2006-01" $month }}
<h3 class="mt-5" id="{{ $display }}">
<h2 class="mt-5 h3" id="{{ $display }}">
<a href="#{{ $display }}" class="no-color-change">
<time datetime="{{ $month }}" title='{{ dateFormat "January 2006" $month }}'>{{ $display }}</time>
</a>
</h3>
</h2>
{{ range (sort .Pages "Date" "desc") }}
{{ partial "list_item.html" . }}
{{ end }}