projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10a2895
)
Set page_numfeeds only if feeds are being generated
author
Nis Martensen
<nis.martensen@web.de>
Thu, 6 Dec 2007 12:06:21 +0000
(13:06 +0100)
committer
Joey Hess
<joey@kitenet.net>
Wed, 12 Dec 2007 21:54:09 +0000
(16:54 -0500)
IkiWiki/Plugin/inline.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/inline.pm
b/IkiWiki/Plugin/inline.pm
index ebeb231783fbe950fce33f04cac59e01ed655456..3a03b554aeb60bf13637bc0d9bbfb441980d0608 100644
(file)
--- 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;
+ }
}
}