diff options
author | Runxi Yu <me@runxiyu.org> | 2024-07-27 08:00:00 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-07-27 08:00:00 +0800 |
commit | 1704d83570f97e62ed9663da6001ef01c8a56027 (patch) | |
tree | 8079f1c07c4bd7d2950f683ca58979c45327eba0 /templates/file.html | |
parent | routes/git.go: Fix import path (diff) | |
download | legitrx-1704d83570f97e62ed9663da6001ef01c8a56027.tar.gz legitrx-1704d83570f97e62ed9663da6001ef01c8a56027.tar.zst legitrx-1704d83570f97e62ed9663da6001ef01c8a56027.zip |
templates/file.html: Remove line numbers
Diffstat (limited to 'templates/file.html')
-rw-r--r-- | templates/file.html | 11 |
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> |