From 069b10cc6a9714211fe7136ac6febf5c583e5549 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 15 Jun 2008 18:09:46 -0400 Subject: [PATCH] note about titles and dependencies --- IkiWiki/Plugin/map.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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. -- 2.39.5