summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-04-21 20:08:23 -0400
committerJoey Hess <joey@kitenet.net>2010-04-21 20:08:23 -0400
commit752ccf8b48bab173839b5c7892e9868ee71846f0 (patch)
tree01f67856b5237f0d83e2d1ba488702226fea3c44 /IkiWiki/Plugin
parent0e2b5ebe314c617ae4139b5daad314e01208d37b (diff)
fixes
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/tag.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm
index dd7583ab2..a7f37a512 100644
--- a/IkiWiki/Plugin/tag.pm
+++ b/IkiWiki/Plugin/tag.pm
@@ -79,12 +79,12 @@ sub gentag ($) {
my $tagfile = newpagefile($tagpage, $config{default_pageext});
add_autofile($tagfile, "tag", sub {
- my $message=sprintf(gettext("creating tag page %s"), $tag);
+ my $message=sprintf(gettext("creating tag page %s"), $tagpage);
debug($message);
my $template=template("autotag.tmpl");
- $template->param(tag => IkiWiki::basename($tag));
- $template->param(tagpage => $tagpage);
+ $template->param(tagname => IkiWiki::basename($tag));
+ $template->param(tag => $tag);
writefile($tagfile, $config{srcdir}, $template->output);
if ($config{rcs}) {
IkiWiki::disable_commit_hook();