diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-14 19:41:41 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-14 19:41:41 +0000 |
commit | 50c7f7ab04bbc1e28eecb4cc6253c117718d5e07 (patch) | |
tree | 068533106de1781022bc88a513cb6a674975bdad | |
parent | 264a28a3b4684eef9a89b56a090b8728ec0e3bee (diff) |
* Fix sometimes broken links to Discussion pages from blog pages.
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 2 | ||||
-rw-r--r-- | debian/changelog | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 8c00ca5f5..fd7a59ab3 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -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); diff --git a/debian/changelog b/debian/changelog index 37e37111d..e37def28c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 |