diff options
-rw-r--r-- | doc/invocations-http-server/templates/tree.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/invocations-http-server/templates/tree.html b/doc/invocations-http-server/templates/tree.html index 765be73e..9135f327 100644 --- a/doc/invocations-http-server/templates/tree.html +++ b/doc/invocations-http-server/templates/tree.html @@ -8,7 +8,12 @@ Tree {{ name | e }} <ul> {% for entry in entries %} - <li><a href="/{{ entry["type"] | e}}/{{ entry["hash"] | e}}">{{ entry["path"] | e}}</a></li> + <li> + <a href="/{{ entry["type"] | e}}/{{ entry["hash"] | e}}">{{ entry["path"] | e}}</a> + {% if entry["type"] == "blob" %} + <a href="/blob/{{ entry["hash"] | e}}/{{ entry["path"] | e}}">[↓]</a> + {% endif %} + </li> {% endfor %} </ul> {% endblock %} |