fix rss url in nested pages
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 26 Mar 2006 03:33:49 +0000 (03:33 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 26 Mar 2006 03:33:49 +0000 (03:33 +0000)
IkiWiki/Render.pm

index e6d0bc510bf8a8cfd9ee91e5352293c48143cb44..dc1fc54e7a56770a18dfae04354c77619a573ad2 100644 (file)
@@ -215,7 +215,7 @@ sub genpage ($$$) { #{{{
        }
 
        if ($config{rss} && $inlinepages{$page}) {
-               $template->param(rssurl => rsspage($page));
+               $template->param(rssurl => rsspage(basename($page)));
        }
        
        $template->param(