diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index f4bc93cffd674..089221480cf90 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -65,7 +65,7 @@ {{$subJumpablePathName := $entry.GetSubJumpablePathName}} {{$subJumpablePath := SubJumpablePath $subJumpablePathName}} - + {{if eq (len $subJumpablePath) 2}} {{index $subJumpablePath 0}}{{index $subJumpablePath 1}} {{else}} @@ -74,7 +74,7 @@ {{else}} - {{$entry.Name}} + {{$entry.Name}} {{end}} {{end}}