1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-08 20:21:55 +00:00

revel skeleton

This commit is contained in:
James Hillyerd
2012-10-06 20:27:00 -07:00
parent 7eacfb8fec
commit be97a4528f
10 changed files with 125 additions and 0 deletions

20
app/views/errors/404.html Normal file
View File

@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Not found</title>
</head>
<body>
{{if eq .RunMode "dev"}}
{{template "errors/404-dev.html" .}}
{{else}}
{{with .Error}}
<h1>
{{.Title}}
</h1>
<p>
{{.Description}}
</p>
{{end}}
{{end}}
</body>
</html>