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:
W. Trevor King 2015-12-30 13:04:12 -08:00 committed by David Bremner
parent a5c1536d9a
commit e3d586d038

View file

@ -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', '''