[TASK] Streamline formatting of html templates