Refactor secondary nav to routing template