Add rel=nofollow to recentchanges_links for the same (weak) reasons it was earlier added to edit links.

master
Joey Hess 2008-11-10 18:05:30 -05:00
parent d5853f3e33
commit f0e58faefa
3 changed files with 4 additions and 2 deletions

View File

@ -131,7 +131,7 @@ sub store ($$$) { #{{{
do => "recentchanges_link", do => "recentchanges_link",
page => $_->{page} page => $_->{page}
). ).
"\">". "\" rel=\"nofollow\">".
pagetitle($_->{page}). pagetitle($_->{page}).
"</a>" "</a>"
} }

2
debian/changelog vendored
View File

@ -9,6 +9,8 @@ ikiwiki (2.69) UNRELEASED; urgency=low
later parsing of any directives on the page. later parsing of any directives on the page.
* Fix the link() pagespec to match links that are internally recorded as * Fix the link() pagespec to match links that are internally recorded as
absolute. absolute.
* Add rel=nofollow to recentchanges_links for the same (weak) reasons it
was earlier added to edit links.
-- Joey Hess <joeyh@debian.org> Thu, 06 Nov 2008 16:01:00 -0500 -- Joey Hess <joeyh@debian.org> Thu, 06 Nov 2008 16:01:00 -0500

View File

@ -19,7 +19,7 @@
<span class="desc"><br />Changed by:</span> <span class="desc"><br />Changed by:</span>
<span class="committer"> <span class="committer">
<TMPL_IF NAME="AUTHORURL"> <TMPL_IF NAME="AUTHORURL">
<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR USER></a> <a href="<TMPL_VAR AUTHORURL>" rel="nofollow"><TMPL_VAR USER></a>
<TMPL_ELSE> <TMPL_ELSE>
<TMPL_VAR USER> <TMPL_VAR USER>
</TMPL_IF> </TMPL_IF>