aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-11-10 18:05:30 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-11-10 18:05:30 -0500
commitf0e58faefab108482e88f62db64ea6d654327d25 (patch)
treeca76d1882d1d8f281e41245d3cc232cc5f461407
parentd5853f3e33f70ac82c8a77519a4e1c4781da83eb (diff)
downloadikiwiki-f0e58faefab108482e88f62db64ea6d654327d25.tar
ikiwiki-f0e58faefab108482e88f62db64ea6d654327d25.tar.gz
Add rel=nofollow to recentchanges_links for the same (weak) reasons it was earlier added to edit links.
-rw-r--r--IkiWiki/Plugin/recentchanges.pm2
-rw-r--r--debian/changelog2
-rw-r--r--templates/change.tmpl2
3 files changed, 4 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm
index a73ff37b9..3f70664ac 100644
--- a/IkiWiki/Plugin/recentchanges.pm
+++ b/IkiWiki/Plugin/recentchanges.pm
@@ -131,7 +131,7 @@ sub store ($$$) { #{{{
do => "recentchanges_link",
page => $_->{page}
).
- "\">".
+ "\" rel=\"nofollow\">".
pagetitle($_->{page}).
"</a>"
}
diff --git a/debian/changelog b/debian/changelog
index 6c068806c..566dd1954 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ ikiwiki (2.69) UNRELEASED; urgency=low
later parsing of any directives on the page.
* Fix the link() pagespec to match links that are internally recorded as
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
diff --git a/templates/change.tmpl b/templates/change.tmpl
index 61a54fded..0aebae61e 100644
--- a/templates/change.tmpl
+++ b/templates/change.tmpl
@@ -19,7 +19,7 @@
<span class="desc"><br />Changed by:</span>
<span class="committer">
<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_VAR USER>
</TMPL_IF>