summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 97946bfcf..926d42a49 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1891,6 +1891,7 @@ sub template_depends ($$;@) {
},
loop_context_vars => 1,
die_on_bad_params => 0,
+ parent_global_vars => 1,
filename => $filename,
@_,
($untrusted ? (no_includes => 1) : ()),