Isn't this already done (and will be done as part of the refactor)? https://git.sr.ht/~sircmpwn/man.sr.ht/tree/master/mansrht/blueprints/html.py#L61
Yep.