Made navigation work across pages and posts