From: John Keeping Date: Fri, 1 Aug 2014 21:14:18 +0000 (+0100) Subject: ui-summary: add "rel='vcs-git'" to clone URL links X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/d31be4ccc2f978edd2a40c2721e1efdc1eee2343 ui-summary: add "rel='vcs-git'" to clone URL links This is described in the rel-vcs microformat[1]. [1] https://joeyh.name/rfc/rel-vcs/ Signed-off-by: John Keeping --- diff --git a/ui-summary.c b/ui-summary.c index 70ea908..46ca713 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -31,9 +31,11 @@ static void print_url(const char *url) htmlf("Clone\n", columns); } - htmlf(""); + html("' title='"); + html_attr(ctx.repo->name); + html(" Git repository'>"); html_txt(url); html("\n"); }