X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/35ee7e44a62f9126a83c1243b549d47cc5ca7b43..5a128f3d6333b16200512b33b5265b1b1e8f3837:/IkiWiki/Plugin/tag.pm diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index ddb67c2a8..29d1d030a 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -63,8 +63,8 @@ sub pagetemplate (@) { #{{{ }, @{$tags{$page}} ]) if exists $tags{$page} && @{$tags{$page}} && $template->query(name => "tags"); - if ($template->query(name => "pubdate")) { - # It's an rss template. Add any categories. + if ($template->query(name => "categories")) { + # It's an rss/atom template. Add any categories. if (exists $tags{$page} && @{$tags{$page}}) { $template->param(categories => [map { category => $_ }, @{$tags{$page}}]); }