diff options
Diffstat (limited to 'templates/file.html')
-rw-r--r-- | templates/file.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/file.html b/templates/file.html index ed6073f..ed658e3 100644 --- a/templates/file.html +++ b/templates/file.html @@ -9,6 +9,11 @@ <body> {{ template "nav" . }} <main> + <pre> +{{ range .linecount }} +<a id="#L{{ . }}" href="#{{ . }}">{{ . }}</a> +{{- end -}} + </pre> <pre> {{ .content }} </pre> |