Add API Framework Revel Source Files
[iec.git] / src / foundation / api / revel / templates / errors / 404.html
diff --git a/src/foundation/api/revel/templates/errors/404.html b/src/foundation/api/revel/templates/errors/404.html
new file mode 100644 (file)
index 0000000..f548ebb
--- /dev/null
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html lang="en">
+       <head>
+               <title>Not found</title>
+       </head>
+       <body>
+
+{{if .DevMode}}
+
+{{template "errors/404-dev.html" .}}
+
+{{else}}
+
+       {{with .Error}}
+       <h1>
+               {{.Title}}
+       </h1>
+       <p>
+               {{.Description}}
+       </p>
+       {{end}}
+
+{{end}}
+
+       </body>
+</html>