diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index 0064da9632..53e889fefc 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -1,4 +1,4 @@ -
+
{{- if .FileError}}
{{.FileError}}
@@ -13,7 +13,7 @@
{{if .ReadmeInList}} {{svg "octicon-book" 16 "gt-mr-3"}} - {{.FileName}} + {{.FileName}} {{else}} {{template "repo/file_info" .}} {{end}}