Add template hierarchy and navbar