Fix default page template

Uses '$template' passed into view if old-input hasn't been set