aboutsummaryrefslogtreecommitdiff
path: root/views/tree.html
diff options
context:
space:
mode:
Diffstat (limited to 'views/tree.html')
-rw-r--r--views/tree.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/tree.html b/views/tree.html
index 68a5844..c705b18 100644
--- a/views/tree.html
+++ b/views/tree.html
@@ -11,7 +11,7 @@
% relroot = reltree + '../' * (len(branch.split('/')) - 1)
<title>git &raquo; {{repo.name}} &raquo;
- {{branch}} &raquo; {{dirname.unicode}}</title>
+ {{branch}} &raquo; {{dirname.unicode if dirname.unicode else '/'}}</title>
<link rel="stylesheet" type="text/css"
href="{{relroot}}../../../../../static/git-arr.css"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>