summaryrefslogblamecommitdiffstats
path: root/templates/nav.html
blob: 51c9a346b17eb8fbb12425e0338abdb3e15aeb61 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                  
                  
                                          
                                            




                                                          


         
{{ define "nav" }}
  <nav>
    <ul>
    {{ if .name }}
    <li><a href="/{{ .name }}">summary</a>
    <li><a href="/{{ .name }}/refs">refs</a>
      {{ if .ref }}
      <li><a href="/{{ .name }}/tree/{{ .ref }}/">tree</a>
      <li><a href="/{{ .name }}/log/{{ .ref }}">log</a>
      {{ end }}
    {{ end }}
    </ul>
  </nav>
{{ end }}