Don't set navbar links if there are none.