Replace title with page.title in template