-
Notifications
You must be signed in to change notification settings - Fork 1
/
faq.html
52 lines (49 loc) · 2.28 KB
/
faq.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
layout: default
title: FAQ
---
<div class="container pt-4">
<div class="row">
<div class="col-12 col-lg-8 offset-lg-2">
<h2>FAQs</h2>
<div class="mt-5">
<strong class="text-primary">Inhalt</strong>
</div>
{% for section in site.data.faq.sections %}
<div class="my-4"><a class="text-dark" href="#{{ section.title | slugify }}">{{ section.title }}</a></div>
{% endfor %}
<div class="my-4"><a class="text-dark" href="#nochEineFrage">Ich habe immer noch eine Frage!</a></div>
{% for section in site.data.faq.sections %}
{% assign section_id = section.title | slugify %}
<h3 class="h3-faq" id="{{ section_id }}">{{ section.title }}</h3>
<div class="accordion" id="acc-{{ section_id }}">
{% for faq in section.questions %}
{% assign question_id = faq.question | slugify %}
<div class="accordion-item">
<h2 class="accordion-header" id="h2-{{ question_id }}">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#{{ question_id }}" aria-controls="{{ question_id }}">
<div class="faq-question">
{{ faq.question }}
</div>
</button>
</h2>
<div id="{{ question_id }}" class="accordion-collapse collapse"
aria-labelledby="h2-{{ question_id }}" data-bs-parent="#acc-{{ section_id }}">
<div class="accordion-body">
{{ faq.answer | markdownify }}
</div>
</div>
</div>
{% endfor %}
</div>
{% endfor %}
<h3 class="h3-faq" id="nochEineFrage">Ich habe immer noch eine Frage!</h3>
<div>
Das FAQ konnte dir nicht weiterhelfen oder du hast eine
komplexere Anfrage? Dann schreib uns eine E-Mail an
<a class="body-link" href="mailto:[email protected]">[email protected]</a>.
</div>
</div>
</div>
</div>