
{% include setlang.html %}
{% assign list = site.data.faq[page.lang] %}
{% assign listSize = list | size %}
{% if listSize < 1 %}
{{ t.faq.empty }}
{% else %}
{% assign counter = 1 %}
{% for item in list %}
<div>
  <h3 id="{{ counter }}">
    <a href="#{{counter}}">{{ item[1].question }}</a>
  </h3>
  <p class="pb-3">
    {{ item[1].answer }}
  </p>
</div>
{% capture counter %}{{ counter | plus: 1 }}{% endcapture %}
{% endfor %}
{% endif %}
