Fix navbar url when renderd outside the front page