From 52959c988c5613dfa0473f3d56442f46b98a665c Mon Sep 17 00:00:00 2001 From: slene Date: Mon, 24 Mar 2014 23:59:27 +0800 Subject: [PATCH] fix --- templates/repo/single_file.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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}}