diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-09-29 19:08:12 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-29 19:08:12 -0400 |
commit | 733171bf3f1084ac5c497543538ec68839153f6d (patch) | |
tree | da36ad4dbbdad302b036ad4df33393dafc55ee36 | |
parent | 4c635fe225765e78469ace69d91ef1af46099b57 (diff) | |
download | ikiwiki-733171bf3f1084ac5c497543538ec68839153f6d.tar ikiwiki-733171bf3f1084ac5c497543538ec68839153f6d.tar.gz |
support indexpages
-rw-r--r-- | IkiWiki/Plugin/autoindex.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/autoindex.pm b/IkiWiki/Plugin/autoindex.pm index 6ff06538f..a79a06314 100644 --- a/IkiWiki/Plugin/autoindex.pm +++ b/IkiWiki/Plugin/autoindex.pm @@ -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); |