mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
nmbug-status: Fix unbalanced <p> tags in default header/footer
These were broken by b70386a4
(Move the generated date from the top of
the page to the footer, 2014-05-31), which moved 'Generated ...' to
the footer with the opening tag, but didn't replace the blurb opening
tag or add a closing tag after 'Generated ...'.
This commit is contained in:
parent
8fc32dd42e
commit
d6204e8362
1 changed files with 2 additions and 1 deletions
|
@ -377,6 +377,7 @@ header_template = config['meta'].get('header', '''<!DOCTYPE html>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>{title}</h1>
|
<h1>{title}</h1>
|
||||||
|
<p>
|
||||||
{blurb}
|
{blurb}
|
||||||
</p>
|
</p>
|
||||||
<h2>Views</h2>
|
<h2>Views</h2>
|
||||||
|
@ -384,7 +385,7 @@ header_template = config['meta'].get('header', '''<!DOCTYPE html>
|
||||||
|
|
||||||
footer_template = config['meta'].get('footer', '''
|
footer_template = config['meta'].get('footer', '''
|
||||||
<hr>
|
<hr>
|
||||||
<p>Generated: {datetime}
|
<p>Generated: {datetime}</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
''')
|
''')
|
||||||
|
|
Loading…
Reference in a new issue