* Fix sometimes broken links to Discussion pages from blog pages.

master
joey 2006-12-14 19:41:41 +00:00
parent 264a28a3b4
commit 50c7f7ab04
2 changed files with 3 additions and 2 deletions

View File

@ -135,7 +135,7 @@ sub preprocess_inline (@) { #{{{
my $type = pagetype($file);
if ($config{discussion}) {
$template->param(have_actions => 1);
$template->param(discussionlink => htmllink($page, $page, "Discussion", 1, 1));
$template->param(discussionlink => htmllink($page, $params{page}, "Discussion", 1, 1));
}
if (length $config{cgiurl} && defined $type) {
$template->param(have_actions => 1);

3
debian/changelog vendored
View File

@ -2,8 +2,9 @@ ikiwiki (1.36) UNRELEASED; urgency=low
* Fix various links on the hyperestradier pages.
* Use POST for poll to avoid some robots.
* Fix sometimes broken links to Discussion pages from blog pages.
-- Joey Hess <joeyh@debian.org> Thu, 14 Dec 2006 14:04:25 -0500
-- Joey Hess <joeyh@debian.org> Thu, 14 Dec 2006 14:41:01 -0500
ikiwiki (1.35) unstable; urgency=low