aboutsummaryrefslogtreecommitdiff
path: root/templates/file.html
diff options
context:
space:
mode:
authorAnirudh Oppiliappan <x@icyphox.sh>2024-02-25 23:15:21 +0200
committerAnirudh Oppiliappan <x@icyphox.sh>2024-02-25 23:15:21 +0200
commita87f88a57c68627a1f63f1551fcef2c1f1ec7036 (patch)
tree232d2d89b717c6368008e9ab3f7dec569b62fb18 /templates/file.html
parentdeps: bump go-git (diff)
downloadlegitrx-a87f88a57c68627a1f63f1551fcef2c1f1ec7036.tar.gz
legitrx-a87f88a57c68627a1f63f1551fcef2c1f1ec7036.tar.zst
legitrx-a87f88a57c68627a1f63f1551fcef2c1f1ec7036.zip
routes: add raw file view
Diffstat (limited to '')
-rw-r--r--templates/file.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/file.html b/templates/file.html
index 49bc19b..23187ec 100644
--- a/templates/file.html
+++ b/templates/file.html
@@ -5,7 +5,7 @@
<body>
{{ template "nav" . }}
<main>
- <p>{{ .path }}</p>
+ <p>{{ .path }} (<a style="color: gray" href="?raw=true">view raw</a>)</p>
<div class="file-wrapper">
<table >
<tbody><tr>