all repos — legit @ d879c2dfb088cb7911e322694c101fb0bdf7c0c0

fork of git.icyphox.sh/legit

templates/file.html

{{ 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 }}