summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-14 20:14:36 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-14 20:14:36 +0000
commite1c0576029f2f87b77887fe499c700ca8974ae9b (patch)
tree142e52748963a4f0ed9fad70a65d5c3f0cd288a7 /IkiWiki/Plugin
parent36597f4b0412edc9c08c959443cc8ffce4bfdee5 (diff)
* Fix missing categories in rss/atom feeds.
Diffstat (limited to 'IkiWiki/Plugin')
-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}}]);
}