Loops
Loops are used to repeat a block of content multiple times. For example:
{#elements['KNzQfQy5uentPBnTL'].comments.data}
{text}
{#children}
{text}
{/}
{/}In this example, the content of the loop will be repeated for each comment in the elements['KNzQfQy5uentPBnTL'].comments.data array.
And the {children} tag will be used to loop through the replies of each comment.
Last updated on