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