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










                                    




                                             
           
              




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

  <header>
    <h1>{{ .meta.Title }}</h1>
    <h2>{{ .meta.Description }}</h2>
  </header>
  <body>
    {{ template "nav" . }}
    <main>
    <pre>
{{ range .linecount }}
<a id="#L{{ . }}" href="#{{ . }}">{{ . }}</a>
{{- end -}}
    </pre>
      <pre>
{{ .content }}
      </pre>
    </main>
  </body>
</html>
{{ end }}