diff options
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 3a03b554a..3c0c6f140 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -161,7 +161,9 @@ sub preprocess_inline (@) { #{{{ } else { if (exists $page_numfeeds{$params{destpage}}) { - $feednum=$knownfeeds{$feedid}=++$page_numfeeds{$params{destpage}}; + if ($feeds) { + $feednum=$knownfeeds{$feedid}=++$page_numfeeds{$params{destpage}}; + } } else { $feednum=$knownfeeds{$feedid}=""; |