enabled templating for pages