forked from matteo/serves3
Serve both files and directories
This commit is contained in:
parent
053854ce72
commit
9fa09de8df
3 changed files with 61 additions and 36 deletions
|
@ -8,7 +8,7 @@
|
|||
<body>
|
||||
<h1>{{ path }}</h1>
|
||||
<ul>
|
||||
{% if has_parent %}
|
||||
{% if path != "/" %}
|
||||
<li><a href="../">..</a></li>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue