diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2024-02-25 23:15:21 +0200 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2024-02-25 23:15:21 +0200 |
commit | a87f88a57c68627a1f63f1551fcef2c1f1ec7036 (patch) | |
tree | 232d2d89b717c6368008e9ab3f7dec569b62fb18 /templates/file.html | |
parent | deps: bump go-git (diff) | |
download | legitrx-a87f88a57c68627a1f63f1551fcef2c1f1ec7036.tar.gz legitrx-a87f88a57c68627a1f63f1551fcef2c1f1ec7036.tar.zst legitrx-a87f88a57c68627a1f63f1551fcef2c1f1ec7036.zip |
routes: add raw file view
Diffstat (limited to 'templates/file.html')
-rw-r--r-- | templates/file.html | 2 |
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> |