all repos — elgit @ 4cb034adf2fd34dbaeae280c30d88601865dc7d8

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

remove syntax highlighting

Alan Pearce
commit

4cb034adf2fd34dbaeae280c30d88601865dc7d8

parent

84ac9429d2b3dc331491481ff6669a3b78f99971

1 file changed, 1 insertion(+), 5 deletions(-)

changed files
M routes/routes.goroutes/routes.go
@@ -205,11 +205,7 @@
if raw { d.showRaw(contents, w) } else { - if d.c.Meta.SyntaxHighlight == "" { - d.showFile(contents, data, w) - } else { - d.showFileWithHighlight(treePath, contents, data, w) - } + d.showFile(contents, data, w) } }