From: Joey Hess Date: Sun, 15 Jun 2008 22:09:46 +0000 (-0400) Subject: note about titles and dependencies X-Git-Tag: 2.51~78 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=069b10cc6a9714211fe7136ac6febf5c583e5549;p=ikiwiki.git note about titles and dependencies --- diff --git a/IkiWiki/Plugin/map.pm b/IkiWiki/Plugin/map.pm index af08005b8..f7ab291c7 100644 --- a/IkiWiki/Plugin/map.pm +++ b/IkiWiki/Plugin/map.pm @@ -58,8 +58,9 @@ sub preprocess (@) { #{{{ $common_prefix=IkiWiki::dirname($common_prefix); } - # Needs to update whenever a page is added or removed, so - # register a dependency. + # Needs to update whenever a page is added or removed (or in some + # cases, when its content changes, if show=title), so register a + # dependency. add_depends($params{page}, $params{pages}); # Explicitly add all currently shown pages, to detect when pages # are removed.