Last active
March 17, 2017 13:31
-
-
Save jamestrevorlees/877ebc167a364f336ef09fd90d7841f7 to your computer and use it in GitHub Desktop.
Loop through repeater field on timber and twig
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 class="col"> | |
<ul> | |
{% set i = 1 %} | |
{% for item in post.get_field('home_what_band_bullets_section_a') %} | |
<li>{{ item.bullet_copy_text }}</li> | |
{% set i = i + 1 %} | |
{% endfor %} | |
</ul> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment