summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/autoindex.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-01 15:54:10 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-01 15:54:10 -0400
commit18b1c7f01256ec7761263fb699aa51ae9d92bc0b (patch)
tree9e6469c756481006545152a93cffde8eec5b186b /IkiWiki/Plugin/autoindex.pm
parentaba53047af2cb06436ddac156bc6bb3e016b96b3 (diff)
parent826af4600a4e413ca8ec7b6d56f0a1cdca0ad635 (diff)
Merge branch 'tova'
Diffstat (limited to 'IkiWiki/Plugin/autoindex.pm')
-rw-r--r--IkiWiki/Plugin/autoindex.pm2
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);