Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use extend with a template defined variable #17

Open
cccaballero opened this issue Jul 21, 2019 · 1 comment
Open

Can't use extend with a template defined variable #17

cccaballero opened this issue Jul 21, 2019 · 1 comment

Comments

@cccaballero
Copy link

If I pass the variable "layout" as context I can use:

{{extend layout}}

but i can't:

{{layout = 'file.tpl'}}
{{extend layout}}

It says that layout is not defined

@mdipierro
Copy link
Contributor

Not a bug. Simply the feature is not supported at this time. If you can add without performance penalty (in particular in the cache of cached templates) I am include it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants