Use add_autofile() in tag.pm

to make the automatically created tagpages render.
master
David Riebenbauer 2010-01-31 01:12:20 +01:00
parent f3c59ed3e5
commit a8d313aba1
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ sub gentag ($) {
my $template=template("autotag.tmpl"); my $template=template("autotag.tmpl");
$template->param(tag => $tag); $template->param(tag => $tag);
writefile($tagfile, $config{srcdir}, $template->output); writefile($tagfile, $config{srcdir}, $template->output);
IkiWiki::add_autofile("$config{srcdir}/$tagfile");
} }
} }