Adding a view helper to template page titles