forked from Wurst-Imperium/WolframClient.net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.html
33 lines (33 loc) · 1.07 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
---
title: Frequently Asked Questions
layout: bare
permalink: /faq/
---
<header class="bg-steel fg-white">
<div style="width: 100%;height: 3.125rem;"></div>
<div class="container padding40 no-padding-left no-padding-right">
<h1 class="align-center text-shadow">{{ page.title }}</h1>
</div>
</header>
{% assign faq = site.questions | group_by: "category" %}
{% for category in faq %}
{% assign modulo = forloop.index0 | modulo: 2 %}
<div class="padding20 no-padding-left no-padding-right{% if modulo == 1 %} bg-grayLighter{% endif %}">
<div class="container">
<h2>{{ category.name }}</h2>
<ul>
{% for question in category.items %}
<li><p><a href="{{ question.url }}">{{ question.title }}</a></p></li>
{% endfor %}
</ul>
</div>
</div>
{% if forloop.last %}
<div class="{% if modulo == 0 %}bg-grayLighter {% endif %}text-accent padding20 no-padding-left no-padding-right">
<div class="container align-center">
Is your question not listed here?
<a href="/contact/">Contact us!</a>
</div>
</div>
{% endif %}
{% endfor %}