aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2015-12-30 13:04:12 -0800
committerDavid Bremner <david@tethera.net>2016-01-13 10:28:38 -0400
commite3d586d038afc1d3b4ed7fe0fdae4ed546e17a63 (patch)
treefadd988dc3a89e53ab9ecbe73dc13564651c65bc
parenta5c1536d9a631f15c74602ef12a0867d278a7af0 (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-xdevel/nmbug/nmbug-status4
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', '''