1
0
Fork 0
forked from matteo/serves3

Serve both files and directories

This commit is contained in:
Matteo Settenvini 2023-07-02 02:06:27 +02:00
parent 053854ce72
commit 9fa09de8df
3 changed files with 61 additions and 36 deletions

View file

@ -8,7 +8,7 @@
<body>
<h1>{{ path }}</h1>
<ul>
{% if has_parent %}
{% if path != "/" %}
<li><a href="../">..</a></li>
{% endif %}