blob: f23196949bd7569f26643f3c75a947596f728105 (
plain) (
tree)
|
|
{{ define "file" }}
<html>
{{ template "head" . }}
<title>{{.name }} — {{ .path }}</title>
{{ template "repoheader" . }}
<body>
{{ template "nav" . }}
<main>
<p>{{ .path }}</p>
<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 }}
|