]> jfr.im git - irc/freenode/web-7.0.git/blame - templates/faq_index.html
Add new footer structure and placeholder pages
[irc/freenode/web-7.0.git] / templates / faq_index.html
CommitLineData
662be445
EK
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 -%}
aad4ef42
EK
23 <li><a href="{{ entry.url }}">
24 <h2>{{ entry.title }}</h2>
25 <span class="faq-description">text text text</span>
26 </a></li>
662be445
EK
27 {%- endfor %}
28</ul>
29</div>
30{% endblock content %}