* Fix missing categories in rss/atom feeds.
parent
36597f4b04
commit
e1c0576029
|
@ -63,8 +63,8 @@ sub pagetemplate (@) { #{{{
|
||||||
}, @{$tags{$page}}
|
}, @{$tags{$page}}
|
||||||
]) if exists $tags{$page} && @{$tags{$page}} && $template->query(name => "tags");
|
]) if exists $tags{$page} && @{$tags{$page}} && $template->query(name => "tags");
|
||||||
|
|
||||||
if ($template->query(name => "pubdate")) {
|
if ($template->query(name => "categories")) {
|
||||||
# It's an rss template. Add any categories.
|
# It's an rss/atom template. Add any categories.
|
||||||
if (exists $tags{$page} && @{$tags{$page}}) {
|
if (exists $tags{$page} && @{$tags{$page}}) {
|
||||||
$template->param(categories => [map { category => $_ }, @{$tags{$page}}]);
|
$template->param(categories => [map { category => $_ }, @{$tags{$page}}]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
ikiwiki (1.40) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Fix missing categories in rss/atom feeds.
|
||||||
|
|
||||||
|
-- Joey Hess <joeyh@debian.org> Sun, 14 Jan 2007 15:09:49 -0500
|
||||||
|
|
||||||
ikiwiki (1.39) unstable; urgency=low
|
ikiwiki (1.39) unstable; urgency=low
|
||||||
|
|
||||||
* Add a rawhtml plugin that allows copying raw html files from the srcdir.
|
* Add a rawhtml plugin that allows copying raw html files from the srcdir.
|
||||||
|
|
|
@ -3,3 +3,5 @@ templates have a loop for the categories (I'm assuming that it's the tags
|
||||||
that it's supposed to be looping through?).
|
that it's supposed to be looping through?).
|
||||||
|
|
||||||
The tags are showing up as expected in the HTML output, just not any feeds.
|
The tags are showing up as expected in the HTML output, just not any feeds.
|
||||||
|
|
||||||
|
> Yurk! [[bugs/done]] --[[Joey]]
|
||||||
|
|
Loading…
Reference in New Issue