diff options
author | Nis Martensen <nis.martensen@web.de> | 2007-12-06 13:06:21 +0100 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2007-12-12 16:54:09 -0500 |
commit | 74a56db8d6fb50dd408f42991a20ce74267d935f (patch) | |
tree | 6cfd06358bebe4b88cf49a3aae1805bd29f7d0d8 /IkiWiki/Plugin | |
parent | 10a2895b3b2814636050176948253d1ca9067217 (diff) |
Set page_numfeeds only if feeds are being generated
Diffstat (limited to 'IkiWiki/Plugin')
-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 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; + } } } |