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
commit7386392b8cd08e73e4f5fa6080e8f4fcf20831f6 (patch)
tree73330ee296f398b7720312a942bc9d524ece9857 /templates/file.html
parenttemplates/file.html: Remove line numbers (diff)
downloadlegitrx-7386392b8cd08e73e4f5fa6080e8f4fcf20831f6.tar.gz
legitrx-7386392b8cd08e73e4f5fa6080e8f4fcf20831f6.tar.zst
legitrx-7386392b8cd08e73e4f5fa6080e8f4fcf20831f6.zip
Some more HTML sanities
Diffstat (limited to 'templates/file.html')
-rw-r--r--templates/file.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/file.html b/templates/file.html
index 758f68a..7dd5b86 100644
--- a/templates/file.html
+++ b/templates/file.html
@@ -2,13 +2,13 @@
<!DOCTYPE html>
<html>
{{ template "head" . }}
- {{ template "repoheader" . }}
<body>
+ {{ template "repoheader" . }}
{{ template "nav" . }}
<main>
<p>{{ .path }} (<a style="color: gray" href="?raw=true">view raw</a>)</p>
<div class="file-wrapper">
- <pre>{{- .content -}}</pre>
+ <pre>{{- .content -}}</pre>
</div>
</main>
</body>