all repos — legit @ e4d12fc667c9830dd5f08f827b2a70adff58a09b

fork of git.icyphox.sh/legit

templates/file.html

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