From: intrigeri Date: Wed, 22 Dec 2010 18:21:41 +0000 (+0100) Subject: Enable HTML::Template's parent_global_vars option. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b2a2246bac236cbe059042482828e68413597fd8;p=ikiwiki.git Enable HTML::Template's parent_global_vars option. Else setting parameters that do not appear in the template (such as title_overridden) fails horribly. --- 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) : ()),