Remove cruft from base page template