support indexpages
parent
4c635fe225
commit
733171bf3f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue