From d31be4ccc2f978edd2a40c2721e1efdc1eee2343 Mon Sep 17 00:00:00 2001 From: John Keeping Date: Fri, 1 Aug 2014 22:14:18 +0100 Subject: 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 --- ui-summary.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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"); } -- cgit v1.2.3-24-g4f1b