This commit is contained in:
Pascal Engélibert 2026-07-31 10:14:40 +02:00
commit 5bcc40d573
5 changed files with 105 additions and 12 deletions

View file

@ -39,6 +39,11 @@ html, body {
<span>
{% for element in path %}/{{ element }}{% endfor %}
</span>
{% match current_entry %}
{% when Entry::Directory(dir) %}
{% when Entry::File(file) %}
<a href="/download/{{ repo_hash|safe }}/{{ file.path }}">Download file</a>
{% endmatch %}
<div id="content">
{{ content|safe }}
</div>