add template for internal pages