note about titles and dependencies

master
Joey Hess 2008-06-15 18:09:46 -04:00
parent eab612e3d4
commit 069b10cc6a
1 changed files with 3 additions and 2 deletions

View File

@ -58,8 +58,9 @@ sub preprocess (@) { #{{{
$common_prefix=IkiWiki::dirname($common_prefix); $common_prefix=IkiWiki::dirname($common_prefix);
} }
# Needs to update whenever a page is added or removed, so # Needs to update whenever a page is added or removed (or in some
# register a dependency. # cases, when its content changes, if show=title), so register a
# dependency.
add_depends($params{page}, $params{pages}); add_depends($params{page}, $params{pages});
# Explicitly add all currently shown pages, to detect when pages # Explicitly add all currently shown pages, to detect when pages
# are removed. # are removed.