fix rss url in nested pages
[ikiwiki.git] / 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(