
{% assign list = site.data.faq[page.lang] %}
{% assign counter = 1 %}
{% for item in list %}
<div id="collapseDiv{{ counter }}" class="collapse-div" role="tablist">
  <div class="collapse-header" id="heading">
    <button data-toggle="collapse" data-target="#collapse{{ counter }}" aria-expanded="false" aria-controls="collapse{{ counter }}">
      {{ counter }}. {{ item[1].question }}
    </button>
  </div>
  <div id="collapse{{ counter }}" class="collapse" role="tabpanel" aria-labelledby="heading{{ counter }}">
    <div class="collapse-body">
      {{ item[1].answer }}
    </div>
  </div>
{% capture counter %}{{ counter | plus: 1 }}{% endcapture %}
{% endfor %}
Add layout for FAQ section
Add layout for FAQ section
