diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 7b6b6cea71..4f39c2362a 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -112,17 +112,16 @@ {{$p := index $.Paths $i}}{{$v}} {{- end -}} {{- end -}} - - {{if (not .IsViewFile)}} - {{if and .CanDeleteFile (not .IsBlame)}} - {{svg "octicon-trash"}} - {{else}} - {{svg "octicon-trash"}} - {{end}} - {{end}} - {{end}} + + {{if (not .IsViewFile)}} + {{if and .CanDeleteFile (not .IsBlame)}} + {{svg "octicon-trash"}} + {{else}} + {{svg "octicon-trash"}} + {{end}} + {{end}}