aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Render.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-28 23:06:28 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-28 23:06:28 +0000
commitd73574e19f3544faee8bfaf2d7269b8bc70eca7a (patch)
tree310538a633ad948ec74fb500b7b000aded22ff82 /IkiWiki/Render.pm
parentbce9a327c305455c4721d9f6b087a9298f7e460f (diff)
downloadikiwiki-d73574e19f3544faee8bfaf2d7269b8bc70eca7a.tar
ikiwiki-d73574e19f3544faee8bfaf2d7269b8bc70eca7a.tar.gz
There was a bug that [[inline archive="yes]] created an RSS link, but no feed.
Fixed in the easiest way by creating an RSS feed for archive pages (it will include only a limited number of items, not everything). Alternative fix would be to track separately which pages are archives and which not, and only create feeds for non-archives.
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r--IkiWiki/Render.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index dc1fc54e7..5f9de8d26 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -266,8 +266,6 @@ sub genrss ($$$) { #{{{
my $parentpage=shift;
my %params=@_;
- return "" if exists $params{archive} && $params{archive} eq 'yes';
-
if (! exists $params{show}) {
$params{show}=10;
}