]> jfr.im git - irc/freenode/web-7.0.git/blob - templates/faq_index.html
add and enable FAQ
[irc/freenode/web-7.0.git] / templates / faq_index.html
1 {% extends "base.html" %}
2 {% set title = index.title %}
3 {% block content %}
4 {% if index.promote %}
5 <div class="jumbotron">
6 <h1 class="child">{{ index.title }}</h1>
7 <div class="box-container">
8 {% for button in index.promote %}
9 <a class="box" href="{{ button.entry.url }}">
10 <i class="fa fa-{{ button.icon }} fa-4x"></i>
11 <div>{{ button.caption }}</div>
12 </a>
13 {% endfor %}
14 </div>
15 </div>
16 <div class="main">
17 {% else %}
18 <div class="main">
19 <h1>{{ index.title }}</h1>
20 {% endif %}
21 <ul class="faq-index">
22 {%- for entry in index.entries -%}
23 <li><a href="{{ entry.url }}">{{ entry.title }}</a></li>
24 {%- endfor %}
25 </ul>
26 </div>
27 {% endblock content %}