all repos — elgit @ 7d99afc5cd3ddfc7a875754f4593812b8c2664c8

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

templates/nav.html (view raw)

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