For loops can be really useful in TWIG, allowing the creation of data-dynamic web pages.
Say we create a simple array of numbers:
{% set array = "3,1,2" %}
We can then iterate over the array and print out whatever we want. Any data within the array block will be outputted in relation ...