mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-25 19:04:53 +01:00
nmbug-status: Adjust headers to start with h1
We've been leading off with h2s since 3e5fb88f
(contrib/nmbug: add
nmbug-status script, 2012-07-07), but the semantically-correct headers
are:
<h1>{title}</h1>
...
<h2>Views</h2>
...
<h3>View 1</h3>
...
<h3>View 2</h3>
...
We can always add additional CSS if the default h1 formatting is too
intense.
This commit is contained in:
parent
a5c1536d9a
commit
e3d586d038
1 changed files with 2 additions and 2 deletions
|
@ -367,10 +367,10 @@ header_template = config['meta'].get('header', '''<!DOCTYPE html>
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h2>{title}</h2>
|
||||
<h1>{title}</h1>
|
||||
{blurb}
|
||||
</p>
|
||||
<h3>Views</h3>
|
||||
<h2>Views</h2>
|
||||
''')
|
||||
|
||||
footer_template = config['meta'].get('footer', '''
|
||||
|
|
Loading…
Reference in a new issue