Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<section id="Services" class="light-wrapper">
<div class="container inner">
{% setcontent categories = 'productcategories' orderby 'id' %}
{% for columns in categories|batch(3) %}
<div class="row" style="margin-bottom:20px;">
{% for category in columns %}
<div class="col-md-4">
<div class="Headline-Text">
<h4>{{ category.title }}</h4>
</div>
<div class="Bullets">
<ul class="list prim list-Play">
{% set products = category.related('products') %}
{% for product in products|order('title') %}
<li>{{ product.title }}</li>
{% endfor %}
</ul>
</div>
</div>
{% endfor %}
</div>
{% endfor %}
</div>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment