HTML refac into Jinja templates for max DRYness