summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/tag.pm4
1 files changed, 2 insertions, 2 deletions
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}}]);
}