all repos — legit @ 7d99afc5cd3ddfc7a875754f4593812b8c2664c8

web frontend for git, written in go

templates: fix 404 and 500

commit

7d99afc5cd3ddfc7a875754f4593812b8c2664c8

parent

f04137f841de6fefe4c79fedeb718b252a3b2958

1 file changed, 3 insertions(+), 1 deletion(-)

changed files
M templates/404.htmltemplates/404.html
@@ -1,7 +1,9 @@
+{{ define "404" }} <html> <title>404</title> -{{ template "header" . }} +{{ template "head" . }} <body> 404 &mdash; nothing like that here </body> </html> +{{ end }}