aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-04 16:03:01 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-04 16:03:01 -0400
commite529c561f548fa2d277b8cb7c123c3a46a0427a4 (patch)
tree1a314c29d4893b744b3c8633a4fd3b9a3ba09230 /IkiWiki/Plugin
parentda5c12e9ebb6bad5e73b0b709d0bcc82657ac8e3 (diff)
downloadikiwiki-e529c561f548fa2d277b8cb7c123c3a46a0427a4.tar
ikiwiki-e529c561f548fa2d277b8cb7c123c3a46a0427a4.tar.gz
inline: Use a contentless dependency in quick mode.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/inline.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index ccfadfd69..5133c4ba6 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -197,7 +197,7 @@ sub preprocess_inline (@) {
split ' ', $params{pagenames};
}
else {
- add_depends($params{page}, $params{pages});
+ add_depends($params{page}, $params{pages}, content => ! $quick);
@list = pagespec_match_list(
[ grep { $_ ne $params{page} } keys %pagesources ],
@@ -248,10 +248,9 @@ sub preprocess_inline (@) {
}
# Explicitly add all currently displayed pages as dependencies, so
- # that if they are removed or otherwise changed, the inline will be
- # sure to be updated.
+ # that if they are removed, the inline will be sure to be updated.
foreach my $p ($#list >= $#feedlist ? @list : @feedlist) {
- add_depends($params{page}, $p);
+ add_depends($params{page}, $p, content => ! $quick);
}
if ($feeds && exists $params{feedpages}) {