HTML::Template->new(template_params(@_));
} #}}}
-sub misctemplate ($$) { #{{{
+sub misctemplate ($$;@) { #{{{
my $title=shift;
my $pagebody=shift;
indexlink => indexlink(),
wikiname => $config{wikiname},
pagebody => $pagebody,
- baseurl => baseurl(),
+ baseurl => baseurl(),
+ @_,
);
return $template->output;
}#}}}
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: $!");
* 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