aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/edittemplate.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-04 16:07:02 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-04 16:07:02 -0400
commitce78b699278be0797316518079474bc776d657ed (patch)
treeb927d001952103190296c19e4bfcc9e88d96907e /IkiWiki/Plugin/edittemplate.pm
parenta6689f9c7a1ecad02b51962c0858df47352c4648 (diff)
downloadikiwiki-ce78b699278be0797316518079474bc776d657ed.tar
ikiwiki-ce78b699278be0797316518079474bc776d657ed.tar.gz
edittemplate: contentless dependency
This one is unlikely to matter much, but yeah, it's contentless.
Diffstat (limited to 'IkiWiki/Plugin/edittemplate.pm')
-rw-r--r--IkiWiki/Plugin/edittemplate.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/edittemplate.pm b/IkiWiki/Plugin/edittemplate.pm
index 0bafc95d0..89d450725 100644
--- a/IkiWiki/Plugin/edittemplate.pm
+++ b/IkiWiki/Plugin/edittemplate.pm
@@ -58,7 +58,7 @@ sub preprocess (@) {
$pagestate{$params{page}}{edittemplate}{$params{match}}=$link;
return "" if ($params{silent} && IkiWiki::yesno($params{silent}));
- add_depends($params{page}, $link);
+ add_depends($params{page}, $link, content => 0);
return sprintf(gettext("edittemplate %s registered for %s"),
htmllink($params{page}, $params{destpage}, $link),
$params{match});