summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/inline.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index 3c0c6f140..b28ad27a8 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -173,8 +173,10 @@ sub preprocess_inline (@) { #{{{
}
}
- my $rssurl=basename(rsspage($params{destpage}).$feednum);
- my $atomurl=basename(atompage($params{destpage}).$feednum);
+ if ($feeds) {
+ my $rssurl=basename(rsspage($params{destpage}).$feednum);
+ my $atomurl=basename(atompage($params{destpage}).$feednum);
+ }
my $ret="";
if ($config{cgiurl} && (exists $params{rootpage} ||