2022-12-11 08:48:39 +00:00
|
|
|
{{ define "file" }}
|
|
|
|
<html>
|
|
|
|
{{ template "head" . }}
|
2022-12-18 05:44:38 +00:00
|
|
|
<title>{{.name }} — {{ .path }}</title>
|
2022-12-11 08:48:39 +00:00
|
|
|
|
2022-12-18 05:12:18 +00:00
|
|
|
{{ template "repoheader" . }}
|
2022-12-11 08:48:39 +00:00
|
|
|
<body>
|
|
|
|
{{ template "nav" . }}
|
|
|
|
<main>
|
2022-12-19 12:19:32 +00:00
|
|
|
<p>{{ .path }}</p>
|
2023-01-31 21:02:43 +00:00
|
|
|
<table class="file-wrapper">
|
|
|
|
<tbody><tr>
|
|
|
|
<td class="line-numbers">
|
|
|
|
<pre>
|
|
|
|
{{- range .linecount }}
|
2022-12-18 05:12:18 +00:00
|
|
|
<a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a>
|
2023-01-31 21:02:43 +00:00
|
|
|
{{- end -}}
|
|
|
|
</pre>
|
|
|
|
</td>
|
|
|
|
<td class="file-content">
|
2022-12-18 05:12:18 +00:00
|
|
|
<pre>
|
|
|
|
{{- .content -}}
|
|
|
|
</pre>
|
2023-01-31 21:02:43 +00:00
|
|
|
</td>
|
|
|
|
</tbody></tr>
|
|
|
|
</table>
|
2022-12-11 08:48:39 +00:00
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
{{ end }}
|