aboutsummaryrefslogtreecommitdiff
path: root/templates/tree.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tree.html')
-rw-r--r--templates/tree.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/tree.html b/templates/tree.html
index 4f8ad9b..ba8312e 100644
--- a/templates/tree.html
+++ b/templates/tree.html
@@ -5,6 +5,17 @@
{% extends "repo.html" %}
+{% block title %}
+ {% if breadcrumb.len() > 1 %}
+ {% for entry in breadcrumb[1..] -%}
+ {{ entry.1 }}/
+ {%- endfor %}
+ {% else %}
+ tree
+ {% endif %}
+ | {{ repo.name }}
+{% endblock %}
+
{% block tab %}
<ul class="breadcrumb">
{% for entry in breadcrumb %}