Make it so directory listings work, including root directory listing

This commit is contained in:
Micah Lee 2019-05-10 14:04:13 -07:00
parent 2299059304
commit ae54ef076e
2 changed files with 58 additions and 34 deletions

View file

@ -23,11 +23,11 @@
<tr>
<td>
<img width="30" height="30" title="" alt="" src="/static/img/web_folder.png" />
<a href="/{{ path }}/{{ info.basename }}">
<a href="{{ info.basename }}">
{{ info.basename }}
</a>
</td>
<td></td>
<td>&mdash;</td>
</tr>
{% endfor %}
@ -35,7 +35,7 @@
<tr>
<td>
<img width="30" height="30" title="" alt="" src="/static/img/web_file.png" />
<a href="/{{ path }}/{{ info.basename }}">
<a href="{{ info.basename }}">
{{ info.basename }}
</a>
</td>