From 99258ea40516ffb1e9b8d777f3a26f30bbe478c3 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@debian.org> Date: Mon, 9 Jan 2017 11:38:16 +0000 Subject: [PATCH] Use rel=nofollow microformat for comment authors --- templates/comment.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/comment.tmpl b/templates/comment.tmpl index c16ca7c81..e2924407b 100644 --- a/templates/comment.tmpl +++ b/templates/comment.tmpl @@ -22,12 +22,12 @@ Comment by <TMPL_IF COMMENTOPENID> <span class="author" title="OpenID"> -<a href="<TMPL_VAR COMMENTOPENID>"><TMPL_VAR COMMENTAUTHOR></a> +<a rel="nofollow" href="<TMPL_VAR COMMENTOPENID>"><TMPL_VAR COMMENTAUTHOR></a> </span> <TMPL_ELSE> <span class="author" title="Signed in"> <TMPL_IF COMMENTAUTHORURL> -<a href="<TMPL_VAR COMMENTAUTHORURL>"><TMPL_VAR COMMENTAUTHOR></a> +<a rel="nofollow" href="<TMPL_VAR COMMENTAUTHORURL>"><TMPL_VAR COMMENTAUTHOR></a> <TMPL_ELSE> <TMPL_VAR COMMENTAUTHOR> </TMPL_IF> @@ -42,7 +42,7 @@ Comment by <span class="author" title="Unauthenticated, from unknown IP address"> </TMPL_IF> <TMPL_IF AUTHORURL> -<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a> +<a rel="nofollow" href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a> <TMPL_ELSE> <TMPL_VAR AUTHOR> </TMPL_IF> -- 2.39.5