1. Michael Granger
  2. Inversion
Issue #1 resolved

Config tag doesn't propagate settings to subtemplates while rendering

Michael Granger
repo owner created an issue

Configuration options set in a parent template should propage to subtemplates. For a template that has the following:

<?config debugging_comments: true ?>
<?attr subtemplate ?>

And used like so:

tmpl.subtemplate = Inversion::Template.load('other.tmpl')

The other.tmpl is rendered without the enclosing template's config settings.

This should be changed so that config options of the parent are applied to any templates it encloses as well.

Comments (1)

  1. Log in to comment