From 67254135169cc57f4158f321b00964f250ca8d15 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 28 May 2008 03:09:04 -0400 Subject: [PATCH] Add rel=nofollow to edit links. This may prevent some spiders from pounding on the cgi following edit links. --- IkiWiki.pm | 2 +- debian/changelog | 7 +++++++ templates/inlinepage.tmpl | 2 +- templates/page.tmpl | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/IkiWiki.pm b/IkiWiki.pm index 0440f4020..8af0d7889 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -598,7 +598,7 @@ sub htmllink ($$$;@) { #{{{ page => pagetitle(lc($link), 1), from => $lpage ). - "\">?$linktext" + "\" rel=\"nofollow\">?$linktext" } } diff --git a/debian/changelog b/debian/changelog index 4207b7cc6..4b66aa697 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ikiwiki (2.48) UNRELEASED; urgency=low + + * Add rel=nofollow to edit links. This may prevent some spiders from + pounding on the cgi following edit links. + + -- Joey Hess Wed, 28 May 2008 03:07:37 -0400 + ikiwiki (2.47) unstable; urgency=low * mdwn: Add a multimarkdown setup file option. diff --git a/templates/inlinepage.tmpl b/templates/inlinepage.tmpl index a736dacb5..71d57b008 100644 --- a/templates/inlinepage.tmpl +++ b/templates/inlinepage.tmpl @@ -46,7 +46,7 @@ License:
    -
  • Edit
  • +
  • Edit
  • diff --git a/templates/page.tmpl b/templates/page.tmpl index 249ee2efb..b903adb19 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -30,7 +30,7 @@