Don't render ugly &p=None links if there isn't a page to go to