aboutsummaryrefslogtreecommitdiff
path: root/templates/file.html
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-07-27 08:00:00 +0800
committerRunxi Yu <me@runxiyu.org>2024-07-27 08:00:00 +0800
commit1704d83570f97e62ed9663da6001ef01c8a56027 (patch)
tree8079f1c07c4bd7d2950f683ca58979c45327eba0 /templates/file.html
parentroutes/git.go: Fix import path (diff)
downloadlegitrx-1704d83570f97e62ed9663da6001ef01c8a56027.tar.gz
legitrx-1704d83570f97e62ed9663da6001ef01c8a56027.tar.zst
legitrx-1704d83570f97e62ed9663da6001ef01c8a56027.zip
templates/file.html: Remove line numbers
Diffstat (limited to '')
-rw-r--r--templates/file.html11
1 files changed, 1 insertions, 10 deletions
diff --git a/templates/file.html b/templates/file.html
index a40f071..758f68a 100644
--- a/templates/file.html
+++ b/templates/file.html
@@ -8,16 +8,7 @@
<main>
<p>{{ .path }} (<a style="color: gray" href="?raw=true">view raw</a>)</p>
<div class="file-wrapper">
- <table >
- <tbody><tr>
- <td class="line-numbers">
- <pre>{{- range .linecount }}<a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a>{{- end -}}</pre>
- </td>
- <td class="file-content">
- <pre>{{- .content -}}</pre>
- </td>
- </tbody></tr>
- </table>
+ <pre>{{- .content -}}</pre>
</div>
</main>
</body>