Make the main template render