navbar needs relative link, only use it if navbar location exists.