all repos — legit @ 7d99afc5cd3ddfc7a875754f4593812b8c2664c8

web frontend for git, written in go

templates/nav.html (view raw)

 1{{ define "nav" }}
 2  <nav>
 3    <ul>
 4    <li><a href="/">all repos</a>
 5    <li><a href="/{{ .name }}">{{ .name }}</a>
 6    <li><a href="/{{ .name }}/tree/{{ .ref }}/">tree</a>
 7    <li><a href="/{{ .name }}/log/{{ .ref }}">log</a>
 8    </ul>
 9  </nav>
10{{ end }}