]>
Commit | Line | Data |
---|---|---|
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 | <span>{{ button.caption }}</span> | |
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="kb-index"> | |
22 | {%- for entry in index.entries -%} | |
23 | <li><a href="{{ entry.url }}"> | |
24 | <h2>{{ entry.title }}</h2> | |
25 | <span class="kb-description">{# XXX text text text #}</span> | |
26 | </a></li> | |
27 | {%- endfor %} | |
28 | </ul> | |
29 | </div> | |
30 | {% endblock content %} |