mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
13 lines
179 B
Markdown
13 lines
179 B
Markdown
![]() |
Tag {cycle}
|
||
|
===========
|
||
|
|
||
|
```smarty
|
||
|
{for $i=$a.c..}
|
||
|
<div class="{cycle ["odd", "even"]}">
|
||
|
{/for}
|
||
|
|
||
|
|
||
|
{for $i=$a.c..}
|
||
|
<div class="{cycle ["odd", "even"] index=$i}">
|
||
|
{/for}
|
||
|
```
|