mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix #158
This commit is contained in:
3
sandbox/templates/bug158/main.tpl
Normal file
3
sandbox/templates/bug158/main.tpl
Normal file
@@ -0,0 +1,3 @@
|
||||
{* Отображаемый шаблон *}
|
||||
{import [test] from "bug158/test.tpl" as test}
|
||||
{test.test}
|
||||
7
sandbox/templates/bug158/test.tpl
Normal file
7
sandbox/templates/bug158/test.tpl
Normal file
@@ -0,0 +1,7 @@
|
||||
{* template:test.tpl *}
|
||||
{macro test($break = false)}
|
||||
Test macro recursive
|
||||
{if $break?}
|
||||
{macro.test break = true}
|
||||
{/if}
|
||||
{/macro}
|
||||
Reference in New Issue
Block a user