{% for tab in include.tabs %} {% if forloop.first == true %} {% assign tab_class = 'show active' %} {% else %} {% assign tab_class = '' %} {% endif %} {% capture tab_id %} {{ tab.name | downcase | replace: ' ', '-' }} {% endcapture %}
{% include {{ tab.component | prepend: 'components/' | append: '.html' }} params=tab.params %}
{% endfor %}