Turn <p> into <h1> on list and terms pages.

This commit is contained in:
tastytea 2021-03-23 03:00:59 +01:00
parent 4569349b15
commit bf092cc61e
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{{- define "main" }} {{- define "main" }}
<section aria-labelledby="nocolor_list"> <section aria-labelledby="nocolor_list">
<p id="nocolor_list">{{ .Title }}:</p> <h1 id="nocolor_list">{{ .Title }}:</h1>
<ul> <ul>
{{- range .Paginator.Pages }} {{- range .Paginator.Pages }}
<li role="article"> <li role="article">

View File

@ -1,6 +1,6 @@
{{- define "main" }} {{- define "main" }}
<section aria-labelledby="nocolor_terms"> <section aria-labelledby="nocolor_terms">
<p id="nocolor_terms">{{ .Title }}:</p> <h1 id="nocolor_terms">{{ .Title }}:</h1>
<ul> <ul>
{{- range .Data.Terms.ByCount }} {{- range .Data.Terms.ByCount }}
{{ $count := .Count }} {{ $count := .Count }}