diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index c6a570b1a6..a2f09e4b8a 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -73,33 +73,34 @@ {{end}} {{svg "octicon-file-moved" 15}} - {{if or .CanAddFile .CanUploadFile}} - + {{end}} + {{if ne $n 0}} + {{end}}