Created
May 12, 2017 19:59
-
-
Save LukeTowers/b4e90f59a0583f0395be311b85f6c077 to your computer and use it in GitHub Desktop.
Render Repeater Groups
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="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> |
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
<video src="{{ data.video_url }}" controls autoload></video> |
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
{% 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