handle folder that contains only one folder

This commit is contained in:
tdurieux
2018-07-02 15:23:59 +02:00
parent 2771a0206e
commit 449e19f9b6
2 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
<span class="path"><a href="{{ current_path|join("/") }}">Root</a></span>
{% for item in path %}
{% do current_path.append(item) %}
<span class="path"><a href="{{ current_path|join("/") }}">{{ item }}</a></span>
<span class="path"><a href="{{ current_path|join("/") }}">{{ item|remove_terms(repository) }}</a></span>
{% endfor %}
</div>
<div class="files">