Mercurial > p > roundup > code
comparison doc/_templates/layout.html @ 7133:b5b1f2830e23
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.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 15 Feb 2023 10:36:09 -0500 |
| parents | 9cfdbfc6d8ed |
| children | 33124f6dc1c4 |
comparison
equal
deleted
inserted
replaced
| 7132:c087ad45bf4d | 7133:b5b1f2830e23 |
|---|---|
| 141 {%- endif %} | 141 {%- endif %} |
| 142 {%- endblock %} | 142 {%- endblock %} |
| 143 {%- block extrahead %} {% endblock %} | 143 {%- block extrahead %} {% endblock %} |
| 144 </head> | 144 </head> |
| 145 <body> | 145 <body> |
| 146 <div class="header"><h1>Roundup</h1> | 146 <div class="header"><div class="label">Roundup</div> |
| 147 {%- if pagename != "search" %} | 147 {%- if pagename != "search" %} |
| 148 <div id="searchbox" style="display: none"> | 148 <div id="searchbox" style="display: none"> |
| 149 <form class="search" action="{{ pathto('search') }}" method="get"> | 149 <form class="search" action="{{ pathto('search') }}" method="get"> |
| 150 <input type="text" name="q" size="18" /> | 150 <input type="text" name="q" size="18" /> |
| 151 <input type="submit" value="{{ _('Search') }}" /> | 151 <input type="submit" value="{{ _('Search') }}" /> |
