Move hb templates to base.html