all repos — elgit @ a87f88a57c68627a1f63f1551fcef2c1f1ec7036

fork of legit: web frontend for git, written in go

routes: add raw file view

commit

a87f88a57c68627a1f63f1551fcef2c1f1ec7036

parent

bdfc973207a67a3b217c130520d53373d088763c

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M templates/file.htmltemplates/file.html
@@ -5,7 +5,7 @@ {{ template "repoheader" . }}
<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>