changes pages routing to be for specific template