Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Twig for loop with increment by more than one

Started by Pavel 7 years ago · 1 replies · 984 views
7 years ago

Can I create for loop like i.e (i = 0; i < array.length; i += 3){ } in Twig?

TXT

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 6 days ago
0 107 6 days ago
General · by lynbor, 4 weeks ago
3 437 2 weeks ago
General · by lynbor, 3 weeks ago
7 555 2 weeks ago
General · by Harry, 2 weeks ago
0 159 2 weeks ago
General · by Old Man Umby, 1 month ago
2 308 3 weeks ago