diff --git a/templates/repo/single.tmpl b/templates/repo/single.tmpl
index 54d06aed4..4a71ad346 100644
--- a/templates/repo/single.tmpl
+++ b/templates/repo/single.tmpl
@@ -21,52 +21,22 @@
-
- Filename |
- Size |
- Date modified |
- Message |
-
+
+ Filename |
+ Date modified |
+ Message |
+
-
- dir-1 |
- commit message |
-
-
- dir-2 |
- commit message |
-
-
- dir-3 |
- commit message |
-
-
- file-1.txt |
- 177 B |
- |
- commit message |
-
-
- file-2.txt |
- 177 B |
- |
- commit message |
-
- file-3.txt |
- 177 B |
- |
- commit message |
-
-
+ {{range .Files}}
+
+ {{.Name}} |
+ |
+ {{.Message}} |
+
+ {{end}}
- Source Files:
-
- {{range .Files}}
- - {{.Name}} - {{.Message}} - {{.Created}} - {{.IsFile}} - {{.IsDir}}
- {{end}}
-
{{template "base/footer" .}}
\ No newline at end of file
diff --git a/web.go b/web.go
index 1fa19afc1..f416d96e8 100644
--- a/web.go
+++ b/web.go
@@ -40,6 +40,7 @@ var AppHelpers template.FuncMap = map[string]interface{}{
"AppVer": func() string {
return APP_VER
},
+ "TimeSince": base.TimeSince,
}
func runWeb(*cli.Context) {