inline: Use a contentless dependency in quick mode.
parent
da5c12e9eb
commit
e529c561f5
|
@ -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}) {
|
||||
|
|
|
@ -18,6 +18,7 @@ ikiwiki (3.14159266) UNRELEASED; urgency=low
|
|||
no longer trigger an unnecessary update of the page count.
|
||||
* map: Use a contentless dependency unless show= is specified.
|
||||
This makes simple maps efficient enough that they can be used on sidebars!
|
||||
* inline: Use a contentless dependency in quick mode.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sun, 27 Sep 2009 17:40:03 -0400
|
||||
|
||||
|
|
Loading…
Reference in New Issue