Split up HTML templates to give more hooks to more easily extend.