From cb5f3037bb18403433c2cfd0271f6bea76906aca Mon Sep 17 00:00:00 2001 From: Horus_Arch Date: Wed, 18 Feb 2015 17:03:41 +0100 Subject: Reimplementation with gorilla toolkit. --- app/views/errors/404.html | 20 -------------------- app/views/errors/500.html | 16 ---------------- 2 files changed, 36 deletions(-) delete mode 100644 app/views/errors/404.html delete mode 100644 app/views/errors/500.html (limited to 'app/views/errors') diff --git a/app/views/errors/404.html b/app/views/errors/404.html deleted file mode 100644 index ebdfe10..0000000 --- a/app/views/errors/404.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - Not found - - -{{if eq .RunMode "dev"}} -{{template "errors/404-dev.html" .}} -{{else}} - {{with .Error}} -

- {{.Title}} -

-

- {{.Description}} -

- {{end}} -{{end}} - - diff --git a/app/views/errors/500.html b/app/views/errors/500.html deleted file mode 100644 index 0cef4de..0000000 --- a/app/views/errors/500.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - Application error - - - {{if eq .RunMode "dev"}} - {{template "errors/500-dev.html" .}} - {{else}} -

Oops, an error occured

-

- This exception has been logged. -

- {{end}} - - -- cgit v1.2.3