diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index 103bc57..3c02659 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,22 +7,28 @@ {% if dirs %} <h3 class="center">Topics</h3> +<ul> {% for d in dirs %} <li><a href="{{ cur_dir }}{{ d }}" target="_self">{{ d }}</a></li> {% endfor %} +</ul> {% endif %} {% if files %} <h3 class="center">File Listing</h3> +<ul> {% for f in files %} <li><a href="{{ cur_dir }}{{ f }}" target="_self">{{ f.rstrip('!') }}</a></li> {% endfor %} +</ul> {% endif %} {% if links %} +<ul> {% for l in links %} <li><a href="{{ l.split(',')[1] }}" rel="noopener noreferrer">{{l.split(',')[0]}}</a></li> {% endfor %} +</ul> {% endif %} </center> {% endblock %} |