From 74a56db8d6fb50dd408f42991a20ce74267d935f Mon Sep 17 00:00:00 2001 From: Nis Martensen Date: Thu, 6 Dec 2007 13:06:21 +0100 Subject: [PATCH] Set page_numfeeds only if feeds are being generated --- IkiWiki/Plugin/inline.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index ebeb23178..3a03b554a 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -165,7 +165,9 @@ sub preprocess_inline (@) { #{{{ } else { $feednum=$knownfeeds{$feedid}=""; - $page_numfeeds{$params{destpage}}=1; + if ($feeds) { + $page_numfeeds{$params{destpage}}=1; + } } } -- 2.26.2