forked from matteo/serves3
Fix display of folders
This commit is contained in:
parent
eccd4ef797
commit
053854ce72
2 changed files with 84 additions and 24 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue