diff --git a/templates/repo/single_file.tmpl b/templates/repo/single_file.tmpl index 97558122..d00bffa9 100644 --- a/templates/repo/single_file.tmpl +++ b/templates/repo/single_file.tmpl @@ -2,7 +2,10 @@
{{if .ReadmeExist}} + {{.FileName}} {{else}} + + {{.FileName}} {{FileSize .FileSize}}
Raw @@ -10,8 +13,7 @@
- - {{end}}{{.FileName}} {{FileSize .FileSize}} + {{end}}
{{if not .FileIsText}}