Remove https:// in link text, refactor to partial