Skip to content

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

@thorewi

Description

@thorewi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions