all repos — legit @ 962e84f92cc6d50e624b666bf2aefa21d8656e6f

Unnamed repository; edit this file 'description' to name the repository.

templates/file.html (view raw)

 1{{ define "file" }}
 2<!doctype html>
 3<html>
 4  {{ template "head" . }}
 5  <body>
 6    {{ template "repoheader" . }}
 7    {{ template "nav" . }}
 8    <main>
 9      <p>{{ .path }} (<a style="color: gray" href="?raw=true">view raw</a>)</p>
10      {{if .chroma }}
11      <div class="chroma-file-wrapper">
12      {{ .content }}
13      </div>
14      {{else}}
15      <div class="file-wrapper">
16      <table>
17        <tbody><tr>
18            <td class="line-numbers">
19              <pre>
20            {{- range .linecount }}
21 <a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a>
22            {{- end -}}
23              </pre>
24            </td>
25            <td class="file-content">
26              <pre>
27             {{- .content -}}
28              </pre>
29            </td>
30        </tbody></tr>
31      </table>
32      </div>
33      {{end}}
34    </main>
35  </body>
36</html>
37{{ end }}