diff options
Diffstat (limited to 'templates/file.html')
-rw-r--r-- | templates/file.html | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/templates/file.html b/templates/file.html index ed658e3..4d606cc 100644 --- a/templates/file.html +++ b/templates/file.html @@ -2,21 +2,22 @@ <html> {{ template "head" . }} - <header> - <h1>{{ .meta.Title }}</h1> - <h2>{{ .meta.Description }}</h2> - </header> + {{ template "repoheader" . }} <body> {{ template "nav" . }} <main> - <pre> -{{ range .linecount }} -<a id="#L{{ . }}" href="#{{ . }}">{{ . }}</a> -{{- end -}} - </pre> - <pre> -{{ .content }} - </pre> + <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> |