Skip to content

Instantly share code, notes, and snippets.

@LukeTowers
Created May 12, 2017 19:59
Show Gist options
  • Save LukeTowers/b4e90f59a0583f0395be311b85f6c077 to your computer and use it in GitHub Desktop.
Save LukeTowers/b4e90f59a0583f0395be311b85f6c077 to your computer and use it in GitHub Desktop.
Render Repeater Groups
<div class="profile-square">
<h2 class="profile-title">{{ data.title }}</h2>
<div class="profile-description">{{ data.description }}</div>
<img class="profile-image" src="{{ data.image | media }}">
</div>
<video src="{{ data.video_url }}" controls autoload></video>
{% for block in record.column_with_repeater_data %}
<div class="content-block block-{{ block._group }}">
{% partial 'block-' ~ block._group data=block %}
</div>
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment