aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2009-06-03 18:29:20 +0200
committerintrigeri <intrigeri@boum.org>2009-06-03 18:29:20 +0200
commit2ed033a4aac0d603c375294bdb19f5b74519f389 (patch)
tree230c240f4ed2405aed1db1798bf603ddff1daa55 /IkiWiki
parentdf6f6a1d53493de0ee4f451220b8c8d34af6642a (diff)
downloadikiwiki-2ed033a4aac0d603c375294bdb19f5b74519f389.tar
ikiwiki-2ed033a4aac0d603c375294bdb19f5b74519f389.tar.gz
quick fix for http://ikiwiki.info/bugs/unwanted_discussion_links_on_discussion_pages/
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Render.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index adae9f0d5..093c25b45 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -77,7 +77,7 @@ sub genpage ($$) {
}
if ($config{discussion}) {
my $discussionlink=gettext("discussion");
- if ($page !~ /.*\/\Q$discussionlink\E$/ &&
+ if ($page !~ /.*\/\Q$discussionlink\E$/i &&
(length $config{cgiurl} ||
exists $links{$page."/".$discussionlink})) {
$template->param(discussionlink => htmllink($page, $page, gettext("Discussion"), noimageinline => 1, forcesubpage => 1));