Pathname fixed and basic empty page template added.