summaryrefslogtreecommitdiffstats
path: root/templates/file.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/file.html')
-rw-r--r--templates/file.html20
1 files changed, 12 insertions, 8 deletions
diff --git a/templates/file.html b/templates/file.html
index ab432d3..82a3384 100644
--- a/templates/file.html
+++ b/templates/file.html
@@ -8,18 +8,22 @@
{{ template "nav" . }}
<main>
<p>{{ .path }}</p>
- <div class="file-wrapper">
- <div class="line-numbers">
- {{- range .linecount }}
+ <table class="file-wrapper">
+ <tbody><tr>
+ <td class="line-numbers">
+ <pre>
+ {{- range .linecount }}
<a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a>
- {{- end -}}
- </div>
- <div class="file-content">
- <span></span>
+ {{- end -}}
+ </pre>
+ </td>
+ <td class="file-content">
<pre>
{{- .content -}}
</pre>
- </div>
+ </td>
+ </tbody></tr>
+ </table>
</main>
</body>
</html>