legit/templates/file.html
2022-12-18 10:42:18 +05:30

24 lines
471 B
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 }}