aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-15 18:09:46 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-15 18:09:46 -0400
commit069b10cc6a9714211fe7136ac6febf5c583e5549 (patch)
tree0ef5aa24e3323f0a597eb9f0299483a905d30ef0
parenteab612e3d424f272db5aa4a3352396e88dbbc35a (diff)
downloadikiwiki-069b10cc6a9714211fe7136ac6febf5c583e5549.tar
ikiwiki-069b10cc6a9714211fe7136ac6febf5c583e5549.tar.gz
note about titles and dependencies
-rw-r--r--IkiWiki/Plugin/map.pm5
1 files 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.