Don't show "<---" on route "/"

This commit is contained in:
Dendy 2024-01-24 23:53:32 +01:00
parent bc385e4af3
commit f067850ab6
1 changed files with 3 additions and 0 deletions

View File

@ -3,8 +3,11 @@
{% block title %}{{ path }}{% endblock %} {% block title %}{{ path }}{% endblock %}
{% block body %} {% block body %}
{% if path != "/" %}
<a href="..">&lt;--</a> <a href="..">&lt;--</a>
<br /><br /> <br /><br />
{% endif %}
{% for dir in dirs %} {% for dir in dirs %}
<a href="{{ path_join(path, dir) }}">{{ dir }}</a><br /> <a href="{{ path_join(path, dir) }}">{{ dir }}</a><br />