1
0
Fork 0
forked from matteo/serves3

Fix display of folders

This commit is contained in:
Matteo Settenvini 2023-07-01 21:31:04 +02:00
parent eccd4ef797
commit 053854ce72
2 changed files with 84 additions and 24 deletions

View file

@ -6,7 +6,12 @@
<html>
<head></head>
<body>
<h1>{{ path }}</h1>
<ul>
{% if has_parent %}
<li><a href="../">..</a></li>
{% endif %}
{% for object in objects %}
<li><a href="{{ object }}">{{ object }}</a></li>
{% endfor %}