X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c99369cdbe2efae595d4621384362002646113ad..54fc4d578e655fe3136d8d245021d78db82ac507:/IkiWiki/Plugin/inline.pm diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 3c0c6f140..b16636a70 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -173,8 +173,8 @@ sub preprocess_inline (@) { #{{{ } } - my $rssurl=basename(rsspage($params{destpage}).$feednum); - my $atomurl=basename(atompage($params{destpage}).$feednum); + my $rssurl=basename(rsspage($params{destpage}).$feednum) if $feeds && $rss; + my $atomurl=basename(atompage($params{destpage}).$feednum) if $feeds && $atom; my $ret=""; if ($config{cgiurl} && (exists $params{rootpage} ||