Put page rendering in a view helper instead of a template