Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
/faqsfaqs| Variable | Type |
|---|---|
faqs | List[FAQ] |
store | Store |
session | Session |
| Property | Description |
|---|---|
faq.question | Question text |
faq.answer | Answer (HTML) |
{% extends "layout.jinja" %}
{% block main_content %}
<div class="faqs">
{% for faq in faqs %}
<div class="faq-item">
<h3>{{ faq.question }}</h3>
<div>{{ faq.answer | safe }}</div>
</div>
{% endfor %}
</div>
{% endblock %}