diff options
-rw-r--r-- | IkiWiki.pm | 5 | ||||
-rw-r--r-- | IkiWiki/Plugin/search.pm | 3 | ||||
-rw-r--r-- | debian/changelog | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index a3f907770..6484e8cb0 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -591,7 +591,7 @@ sub template ($;@) { #{{{ HTML::Template->new(template_params(@_)); } #}}} -sub misctemplate ($$) { #{{{ +sub misctemplate ($$;@) { #{{{ my $title=shift; my $pagebody=shift; @@ -601,7 +601,8 @@ sub misctemplate ($$) { #{{{ indexlink => indexlink(), wikiname => $config{wikiname}, pagebody => $pagebody, - baseurl => baseurl(), + baseurl => baseurl(), + @_, ); return $template->output; }#}}} diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index 75004b201..4ae9d7283 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -82,7 +82,8 @@ sub estcfg () { #{{{ open(TEMPLATE, ">$estdir/$cgi.tmpl") || error("write $estdir/$cgi.tmpl: $!"); print TEMPLATE IkiWiki::misctemplate("search", - "<!--ESTFORM-->\n\n<!--ESTRESULT-->\n\n<!--ESTINFO-->\n\n"); + "<!--ESTFORM-->\n\n<!--ESTRESULT-->\n\n<!--ESTINFO-->\n\n", + baseurl => IkiWiki::dirname($config{cgiurl})."/"); close TEMPLATE; open(TEMPLATE, ">$estdir/$cgi.conf") || error("write $estdir/$cgi.conf: $!"); diff --git a/debian/changelog b/debian/changelog index a18dd76d1..bb9ca1350 100644 --- a/debian/changelog +++ b/debian/changelog @@ -28,8 +28,9 @@ ikiwiki (1.27) UNRELEASED; urgency=low * Patch from Recai to kill utf-8 on the wiki name when generating the session cookie. * Change ddate plugin to use the DateTime::Calendar::Discordian perl module. + * Fix a baseurl problem in hyperestradier search results. - -- Joey Hess <joeyh@debian.org> Thu, 14 Sep 2006 18:25:27 -0400 + -- Joey Hess <joeyh@debian.org> Thu, 14 Sep 2006 23:05:02 -0400 ikiwiki (1.26) unstable; urgency=low |