Fix use of page.has_link? and include href