aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-28 03:09:04 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-28 03:09:04 -0400
commit67254135169cc57f4158f321b00964f250ca8d15 (patch)
tree08aa3283eeec867e88020be8a46c6b5f9d0c7c7a /templates
parent25c952abf30de3498ce51a0d8a71ae20bd500818 (diff)
downloadikiwiki-67254135169cc57f4158f321b00964f250ca8d15.tar
ikiwiki-67254135169cc57f4158f321b00964f250ca8d15.tar.gz
Add rel=nofollow to edit links. This may prevent some spiders from pounding on the cgi following edit links.
Diffstat (limited to 'templates')
-rw-r--r--templates/inlinepage.tmpl2
-rw-r--r--templates/page.tmpl2
2 files changed, 2 insertions, 2 deletions
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: <TMPL_VAR LICENSE>
<div class="actions">
<ul>
<TMPL_IF NAME="EDITURL">
-<li><a href="<TMPL_VAR EDITURL>">Edit</a></li>
+<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
</TMPL_IF>
<TMPL_IF NAME="DISCUSSIONLINK">
<li><TMPL_VAR DISCUSSIONLINK></li>
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 @@
<div class="actions">
<ul>
<TMPL_IF NAME="EDITURL">
-<li><a href="<TMPL_VAR EDITURL>">Edit</a></li>
+<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
</TMPL_IF>
<TMPL_IF NAME="RECENTCHANGESURL">
<li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li>