From ec7bbdbf257b8d2b11ba937dc599c5a3a90e3407 Mon Sep 17 00:00:00 2001 From: breadcat Date: Sun, 4 Jul 2021 10:43:09 +0100 Subject: Fix headings for lighthouse scoring 100%, hurrah --- themes/Brine/layouts/_default/list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/Brine/layouts/_default/list.html') 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 }} -- cgit v1.2.3