summaryrefslogblamecommitdiffstats
path: root/templates/file.html
blob: 4d606cc25776ca46c8abe676a30283f30486662c (plain) (tree)
1
2
3
4
5
6
7
8



                       
                               


                          











                                             



           
{{ define "file" }}
<html>
{{ template "head" . }}

  {{ template "repoheader" . }}
  <body>
    {{ template "nav" . }}
    <main>
      <div class="file-wrapper">
        <div class="line-numbers">
          {{- range .linecount }}
<a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a>
          {{- end -}}
        </div>
        <div>
          <span></span>
          <pre>
            {{- .content -}}
          </pre>
        </div>
    </main>
  </body>
</html>
{{ end }}