diff --git a/templates/repo/single.tmpl b/templates/repo/single.tmpl index 54d06aed40..4a71ad3465 100644 --- a/templates/repo/single.tmpl +++ b/templates/repo/single.tmpl @@ -21,52 +21,22 @@ - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + {{range .Files}} + + + + + + {{end}}
dir-1commit message
dir-2 commit message
dir-3commit message
file-1.txt177 Bcommit message
file-2.txt177 Bcommit message
file-3.txt177 Bcommit message
{{.Name}}{{.Message}}
-

Source Files:

- {{template "base/footer" .}} \ No newline at end of file diff --git a/web.go b/web.go index 1fa19afc17..f416d96e86 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) {