diff options
author | breadcat | 2021-07-04 10:43:09 +0100 |
---|---|---|
committer | breadcat | 2021-07-04 10:43:09 +0100 |
commit | ec7bbdbf257b8d2b11ba937dc599c5a3a90e3407 (patch) | |
tree | a2ba657b40688c0ed48537ff20d207a54e3e9709 /themes/Brine/layouts/_default/list.html | |
parent | 851e3b8d16cce57b52148ec248785dddbd3c5540 (diff) | |
download | blog.minskio.co.uk-ec7bbdbf257b8d2b11ba937dc599c5a3a90e3407.tar.gz blog.minskio.co.uk-ec7bbdbf257b8d2b11ba937dc599c5a3a90e3407.tar.bz2 blog.minskio.co.uk-ec7bbdbf257b8d2b11ba937dc599c5a3a90e3407.zip |
Fix headings for lighthouse scoring
100%, hurrah
Diffstat (limited to 'themes/Brine/layouts/_default/list.html')
-rw-r--r-- | themes/Brine/layouts/_default/list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/Brine/layouts/_default/list.html b/themes/Brine/layouts/_default/list.html index 6f79345..89cb5db 100644 --- a/themes/Brine/layouts/_default/list.html +++ b/themes/Brine/layouts/_default/list.html @@ -2,11 +2,11 @@ <ul> {{ if .IsHome }} {{ $paginator := .Paginate (where .Site.RegularPages.ByDate.Reverse "Section" "posts") }}{{ range $paginator.Pages }} - <li><h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3><span>{{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read</span></li>{{ end }} + <li><h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2><span>{{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read</span></li>{{ end }} </ul>{{ partial "pagination.html" $ }} {{ else }} {{ range .Pages.ByDate.Reverse }} - <li><h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3><span>{{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read</span></li> + <li><h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2><span>{{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read</span></li> {{ end }} </ul> {{ end }} |