| Issue 35: | {.end} should take an argument and assert that it closes the argument | |
| 1 person starred this issue and may be notified of changes. | Back to list |
This is optional, but some people might want this for readability in long
templates.
{.section foo}
blah
{.end foo}
{.section @}
blah
{.end @}
{.section bar}
blah
{.end foo} <-- throws an error, 'foo' is not closed here
{.singular?}
1
{.plural?}
2
{.end ?} <-- Asserts that predicates are closed
|