support indexpages

master
Joey Hess 2008-09-29 19:08:12 -04:00
parent 4c635fe225
commit 733171bf3f
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ sub getsetup () { #{{{
sub genindex ($) { #{{{
my $page=shift;
my $file=$page.".".$config{default_pageext};
my $file=newpagefile($page, $config{default_pageext});
my $template=template("autoindex.tmpl");
$template->param(page => $page);
writefile($file, $config{srcdir}, $template->output);