Use intelligent navbar links that know which page should be marked active