diff options
author | mjfernez <mjfernez@gmail.com> | 2021-06-07 00:03:12 -0400 |
---|---|---|
committer | mjfernez <mjfernez@gmail.com> | 2021-06-07 00:40:39 -0400 |
commit | ca5b85fb744221588859f3639ba7e4da0bc82649 (patch) | |
tree | 2595d1e315e09e5d35c362d95a35585416a7a2fb /templates/index.html | |
download | ezcms-ca5b85fb744221588859f3639ba7e4da0bc82649.tar.gz |
first commit
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..7e815e2 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,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 }}</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 %} |