def links(links,host="",show_domain=False): host = "https://"+host+"/" html = "" for link in links: html += "