summaryrefslogtreecommitdiff
path: root/app/views/errors/404.html
diff options
context:
space:
mode:
authorHorus_Arch2015-02-14 23:11:57 +0100
committerHorus_Arch2015-02-14 23:11:57 +0100
commit2f9fe2cfad83416647beed9c3c9085d686c43b09 (patch)
treefce1e043672f94cf42f8197079ce6fb3017dade0 /app/views/errors/404.html
downloadfreemail-2f9fe2cfad83416647beed9c3c9085d686c43b09.tar.gz
Initial commit.
Diffstat (limited to 'app/views/errors/404.html')
-rw-r--r--app/views/errors/404.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/views/errors/404.html b/app/views/errors/404.html
new file mode 100644
index 0000000..ebdfe10
--- /dev/null
+++ b/app/views/errors/404.html
@@ -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>