all repos — elgit @ 1872ca726ab9b0105481ba2404b01e7aeb43bbee

fork of legit: web frontend for git, written in go

routes: description and humanized time to index

commit

1872ca726ab9b0105481ba2404b01e7aeb43bbee

parent

d879c2dfb088cb7911e322694c101fb0bdf7c0c0

1 file changed, 5 insertions(+), 3 deletions(-)

changed files
M templates/index.htmltemplates/index.html
@@ -12,12 +12,14 @@ <main>
<table> <tr> <td>repository</td> + <td>description</td> <td>last active</td> </tr> - {{ range $repo, $lc := .info }} + {{ range .info }} <tr> - <td><a href="/{{ $repo }}">{{ $repo }}</a></td> - <td>{{ $lc }}</td> + <td><a href="/{{ .Name }}">{{ .Name }}</a></td> + <td>{{ .Desc }}</td> + <td>{{ .Idle }}</td> </tr> {{ end }} </table>