Fixing navigation on all template pages.