Change headings on list page to use proper hierarchy
This commit is contained in:
parent
a22dfd85e9
commit
5d56ca8ad2
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<a href="{{ .RelPermalink }}" title="{{ .Title }}">
|
<a href="{{ .RelPermalink }}" title="{{ .Title }}">
|
||||||
<h5 class="my-0">{{ .Title }}</h5>
|
<h3 class="my-0 h5">{{ .Title }}</h3>
|
||||||
</a>
|
</a>
|
||||||
<small>{{ partial "content-details.html" . }}</small>
|
<small>{{ partial "content-details.html" . }}</small>
|
||||||
<p>{{ partial "summary.html" . }}</p>
|
<p>{{ partial "summary.html" . }}</p>
|
||||||
|
|
|
@ -14,11 +14,11 @@
|
||||||
{{ range .Pages.GroupByDate "2006-01" }}
|
{{ range .Pages.GroupByDate "2006-01" }}
|
||||||
{{ $month := print .Key "-01" }}
|
{{ $month := print .Key "-01" }}
|
||||||
{{ $display := dateFormat "2006-01" $month }}
|
{{ $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">
|
<a href="#{{ $display }}" class="no-color-change">
|
||||||
<time datetime="{{ $month }}" title='{{ dateFormat "January 2006" $month }}'>{{ $display }}</time>
|
<time datetime="{{ $month }}" title='{{ dateFormat "January 2006" $month }}'>{{ $display }}</time>
|
||||||
</a>
|
</a>
|
||||||
</h3>
|
</h2>
|
||||||
{{ range (sort .Pages "Date" "desc") }}
|
{{ range (sort .Pages "Date" "desc") }}
|
||||||
{{ partial "list_item.html" . }}
|
{{ partial "list_item.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue