summaryrefslogtreecommitdiffstats
path: root/templates/repo/home.tmpl
diff options
context:
space:
mode:
authorVladimir Vissoultchev <wqweto@gmail.com>2015-07-28 11:42:06 +0300
committerVladimir Vissoultchev <wqweto@gmail.com>2015-07-28 11:42:06 +0300
commit167265d533db2b7da1ea9e1a0f098d6e0d255183 (patch)
treeedf78da63bf352a6002f3e6f4c8592636a2aa9e1 /templates/repo/home.tmpl
parent53bcf373c1d076dd14db6aff0247ae9dbdc49c77 (diff)
downloadgitea-167265d533db2b7da1ea9e1a0f098d6e0d255183.tar.gz
gitea-167265d533db2b7da1ea9e1a0f098d6e0d255183.zip
Allow file and directory names to contain percent character
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r--templates/repo/home.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index 2cc114edcf..7a18ed985d 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -48,7 +48,7 @@
{{ $l := Subtract $n 1}}
{{range $i, $v := .Treenames}}
{{if eq $i $l}}
- <span class="bread">{{EscapePound $v}}</span>
+ <span class="bread">{{$v}}</span>
{{else}}
<span class="bread"><a href="{{EscapePound $.BranchLink}}/{{index $.Paths $i}}">{{$v}}</a></span>
{{end}}