latte icon indicating copy to clipboard operation
latte copied to clipboard

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

Open thorewi opened this issue 2 years ago • 0 comments

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.

thorewi avatar May 28 '23 07:05 thorewi