From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Fri, 1 Aug 2014 22:14:18 +0100 Subject: [PATCH 2/3] ui-summary: add "rel='vcs-git'" to clone URL links In-Reply-To: <32c0e49ef9eccdcc96d20c2240cd90a7d4062993.1406927659.git.john@keeping.me.uk> References: <32c0e49ef9eccdcc96d20c2240cd90a7d4062993.1406927659.git.john@keeping.me.uk> Message-ID: <40ac4d8d19663600ec67ade15c16e1be766c8521.1406927659.git.john@keeping.me.uk> 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"); } -- 2.0.3.890.g700db9e