goto: Fix redirect to comments.
parent
9acc4d578d
commit
52f2235e60
|
@ -38,7 +38,7 @@ sub cgi_goto ($;$) {
|
||||||
# permalink. Comments do.
|
# permalink. Comments do.
|
||||||
if (IkiWiki::isinternal($page) &&
|
if (IkiWiki::isinternal($page) &&
|
||||||
defined $pagestate{$page}{meta}{permalink}) {
|
defined $pagestate{$page}{meta}{permalink}) {
|
||||||
redirect($q, $pagestate{$page}{meta}{permalink});
|
Ikiwiki::redirect($q, $pagestate{$page}{meta}{permalink});
|
||||||
}
|
}
|
||||||
|
|
||||||
my $link = bestlink("", $page);
|
my $link = bestlink("", $page);
|
||||||
|
|
|
@ -5,6 +5,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low
|
||||||
This is potentially expensive, but is necessary so that meta and tag
|
This is potentially expensive, but is necessary so that meta and tag
|
||||||
directives, and other links on templates affect the page using the
|
directives, and other links on templates affect the page using the
|
||||||
template reliably.
|
template reliably.
|
||||||
|
* goto: Fix redirect to comments.
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Sun, 15 Feb 2009 20:11:57 -0500
|
-- Joey Hess <joeyh@debian.org> Sun, 15 Feb 2009 20:11:57 -0500
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue