aboutsummaryrefslogtreecommitdiffstats
path: root/templates/index.html
blob: 4bbad1d12d748b4c78cedcdfea821588e1fb9960 (plain)
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
{% extends 'base.html' %}
{% block content %}

<p>{{ description }}</p>

{% if dirs %}
<h3>Topics</h3>
{% for d in dirs %}
<li><a href="{{ cur_dir }}{{ d }}">{{ d }}</a></li>
{% endfor %}
{% endif %}

{% if files %}
<h3>File Listing</h3>
{% for f in files %}
<li><a href="{{ cur_dir }}{{ f }}">{{ f.rstrip('!') }}</a></li>
{% endfor %}
{% endif %}

{% if links %}
{% for l in links %}
<li><a href="{{ l.split(',')[1] }}" target="_blank" rel="noopener noreferrer">{{l.split(',')[0]}}</a></li>
{% endfor %}
{% endif %}

{% endblock %}