diff options
| author | W. Trevor King <wking@tremily.us> | 2015-12-30 13:04:12 -0800 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-01-13 10:28:38 -0400 |
| commit | e3d586d038afc1d3b4ed7fe0fdae4ed546e17a63 (patch) | |
| tree | fadd988dc3a89e53ab9ecbe73dc13564651c65bc | |
| parent | a5c1536d9a631f15c74602ef12a0867d278a7af0 (diff) | |
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.
| -rwxr-xr-x | devel/nmbug/nmbug-status | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status index 22e3b5b5..b4ded499 100755 --- a/devel/nmbug/nmbug-status +++ b/devel/nmbug/nmbug-status @@ -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', ''' |
