Skip to content

Commit 086c6f9

Browse files
committed
Remove duplicate h1 headers from website
Each page has an H1 header in the main part of the page. The class=header block also had an H1 enclosing "Roundup". This isn't useful as an H1 header. The page title includes Roundup as well so I demoted the class=header H1 to a label but styled it the same.
1 parent 8bee3a7 commit 086c6f9

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

doc/_static/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ body
88
padding: 0 3em 0 14em;
99
}
1010
body > .header { margin: 0 0 0 -14em;}
11+
body > .header div.label { font-size: 2em; font-weight: bold; margin: 0.67em 0 0.67em 1em;}
1112
body > .footer { margin: 1em 0 1em -14em; clear:both;}
1213
body > .navigation
1314
{

doc/_templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h3>{{ _('Quick search') }}</h3>
143143
{%- block extrahead %} {% endblock %}
144144
</head>
145145
<body>
146-
<div class="header"><h1>Roundup</h1>
146+
<div class="header"><div class="label">Roundup</div>
147147
{%- if pagename != "search" %}
148148
<div id="searchbox" style="display: none">
149149
<form class="search" action="{{ pathto('search') }}" method="get">

website/www/_static/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ body
88
padding: 0 3em 0 13em;
99
}
1010
body > .header { margin: 0 0 0 -13em;}
11+
body > .header div.label { font-size: 2em; font-weight: bold; margin: 0.67em 0 0.67em 1em;}
1112
body > .footer { margin: 1em 0 0 -13em; clear:both;}
1213
body > .navigation
1314
{

website/www/_templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
</head>
7474
<body>
7575
<div id="skiplink"><a href="#main">Skip to main content</a></div>
76-
<div class="header"><h1>Roundup</h1>
76+
<div class="header"><div class="label">Roundup</div>
7777
{%- if pagename != "search" %}
7878
<div id="searchbox" style="display: none">
7979
<form class="search" action="{{ pathto('search') }}" method="get">

0 commit comments

Comments
 (0)