diff --git a/lib/chiya_web/controllers/error_html/404.html.heex b/lib/chiya_web/controllers/error_html/404.html.heex
index 42ca532..dffc557 100644
--- a/lib/chiya_web/controllers/error_html/404.html.heex
+++ b/lib/chiya_web/controllers/error_html/404.html.heex
@@ -1,4 +1,14 @@
-<.header>
- <:title>four oh four
- <:subtitle>this page went away and never came back.
-
\ No newline at end of file
+
+
+ Not found
+
+
+
+
+
+ <.header>
+ <:title>Not found
+ <:subtitle>This page went away and never came back.
+
+
+
\ No newline at end of file
diff --git a/lib/chiya_web/controllers/error_html/500.html.heex b/lib/chiya_web/controllers/error_html/500.html.heex
index 411448e..9e23369 100644
--- a/lib/chiya_web/controllers/error_html/500.html.heex
+++ b/lib/chiya_web/controllers/error_html/500.html.heex
@@ -1,4 +1,14 @@
-<.header>
- <:title>infernal server error
- <:subtitle>server got hot and went to hell.
-
\ No newline at end of file
+
+
+ Infernal Server Error
+
+
+
+
+
+ <.header>
+ <:title>Infernal Server Error
+ <:subtitle>Server got hot and went to hell.
+
+
+
\ No newline at end of file
diff --git a/lib/chiya_web/error.ex b/lib/chiya_web/error.ex
index 4b8746f..36849a8 100644
--- a/lib/chiya_web/error.ex
+++ b/lib/chiya_web/error.ex
@@ -1,10 +1,9 @@
defmodule ChiyaWeb.Error do
import Plug.Conn, only: [put_status: 2]
- import Phoenix.Controller, only: [put_view: 2, render: 3, put_root_layout: 2]
+ import Phoenix.Controller, only: [put_view: 2, render: 3]
def render_error(conn, :not_found, assigns \\ []) do
conn
- |> put_root_layout(html: {ChiyaWeb.Layouts, :root_error})
|> put_status(:not_found)
|> put_view(ChiyaWeb.ErrorHTML)
|> render("404.html", assigns)