summaryrefslogtreecommitdiffstats
path: root/templates/file.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/file.html22
1 files changed, 8 insertions, 14 deletions
diff --git a/templates/file.html b/templates/file.html
index 82a3384..8898786 100644
--- a/templates/file.html
+++ b/templates/file.html
@@ -1,29 +1,23 @@
{{ define "file" }}
<html>
{{ template "head" . }}
- <title>{{.name }} &mdash; {{ .path }}</title>
-
{{ template "repoheader" . }}
<body>
{{ template "nav" . }}
<main>
<p>{{ .path }}</p>
- <table class="file-wrapper">
- <tbody><tr>
- <td class="line-numbers">
- <pre>
- {{- range .linecount }}
+ <div class="file-wrapper">
+ <div class="line-numbers">
+ {{- range .linecount }}
<a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a>
- {{- end -}}
- </pre>
- </td>
- <td class="file-content">
+ {{- end -}}
+ </div>
+ <div class="file-content">
+ <span></span>
<pre>
{{- .content -}}
</pre>
- </td>
- </tbody></tr>
- </table>
+ </div>
</main>
</body>
</html>