support indexpages
parent
4c635fe225
commit
733171bf3f
|
@ -21,7 +21,7 @@ sub getsetup () { #{{{
|
||||||
|
|
||||||
sub genindex ($) { #{{{
|
sub genindex ($) { #{{{
|
||||||
my $page=shift;
|
my $page=shift;
|
||||||
my $file=$page.".".$config{default_pageext};
|
my $file=newpagefile($page, $config{default_pageext});
|
||||||
my $template=template("autoindex.tmpl");
|
my $template=template("autoindex.tmpl");
|
||||||
$template->param(page => $page);
|
$template->param(page => $page);
|
||||||
writefile($file, $config{srcdir}, $template->output);
|
writefile($file, $config{srcdir}, $template->output);
|
||||||
|
|
Loading…
Reference in New Issue