]> sipb.mit.edu Git - ikiwiki.git/commitdiff
fix autofile call
authorJoey Hess <joey@kitenet.net>
Sat, 17 Apr 2010 19:43:58 +0000 (15:43 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 17 Apr 2010 19:43:58 +0000 (15:43 -0400)
IkiWiki/Plugin/tag.pm

index 1145a9f130966d4c69b1a6ce6b8373fdbaf0eafd..957b012efcde187d7255d0801ddeda50bc9502cc 100644 (file)
@@ -70,7 +70,7 @@ sub gentag ($) {
                my $tagfile = newpagefile(tagpage($tag), $config{default_pageext});
                $tagfile=~s/^\///;
 
-               add_autofile($tagfile, sub {
+               add_autofile($tagfile, "tag", sub {
                        debug(sprintf(gettext("creating tag page %s"), $tag));
 
                        my $template=template("autotag.tmpl");