mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
10 lines
223 B
Markdown
10 lines
223 B
Markdown
|
Modifier length
|
||
|
===============
|
||
|
|
||
|
The modifier returns the number of items of a sequence or mapping, or the length of a string (works with UTF8 without `mbstring`)
|
||
|
|
||
|
```smarty
|
||
|
{if $images|length > 5}
|
||
|
to many images
|
||
|
{/if}
|
||
|
```
|