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

{capture $var} doesn't propagate to @layout.latte #336

Open
thorewi opened this issue May 28, 2023 · 0 comments
Open

{capture $var} doesn't propagate to @layout.latte #336

thorewi opened this issue May 28, 2023 · 0 comments

Comments

@thorewi
Copy link

thorewi commented May 28, 2023

Version: 3.0.6

Hi,
I have {define title}{$title}{/define} in @layout.latte.
Then, in for example default.latte I have {capture $title}test{/capture} and I got Undefined variable $title.
With {var $title="test"} instead of {capture} everything works.
In latte 2.11 it worked correctly.

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

1 participant