This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div{{ attributes.addClass('container') }}> | |
{% for item in items %} | |
{# NB! notation: loop.index is 1 start, loop.index0 is zero start #} | |
<div class="row {{ loop.index0 is odd ? 'zebra-odd' : 'zebra-even' }}"> | |
<div{{ item.attributes }}>{{ item.content }}</div> | |
</div> | |
{% endfor %} | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
•_•) | |
( •_•)>⌐■-■ | |
(⌐■_■) |