diff --git a/src/ZKEACMS.WebHost/Views/Error/NotFound.cshtml b/src/ZKEACMS.WebHost/Views/Error/NotFound.cshtml
index 1a5dc171..9397a45a 100644
--- a/src/ZKEACMS.WebHost/Views/Error/NotFound.cshtml
+++ b/src/ZKEACMS.WebHost/Views/Error/NotFound.cshtml
@@ -1,6 +1,6 @@
@{
this.WorkContext().CurrentPage.Title = System.Net.HttpStatusCode.NotFound.ToString();
- Layout = Layouts.Generic;
+ Layout = Layouts.EmptyLayout;
}
diff --git a/src/ZKEACMS.WebHost/Views/Shared/NotFound.cshtml b/src/ZKEACMS.WebHost/Views/Shared/NotFound.cshtml
index 1a5dc171..9397a45a 100644
--- a/src/ZKEACMS.WebHost/Views/Shared/NotFound.cshtml
+++ b/src/ZKEACMS.WebHost/Views/Shared/NotFound.cshtml
@@ -1,6 +1,6 @@
@{
this.WorkContext().CurrentPage.Title = System.Net.HttpStatusCode.NotFound.ToString();
- Layout = Layouts.Generic;
+ Layout = Layouts.EmptyLayout;
}
diff --git a/src/ZKEACMS.WebHost/Views/Shared/_EmptyLayout.cshtml b/src/ZKEACMS.WebHost/Views/Shared/_EmptyLayout.cshtml
index eccac4ad..3a5ffb50 100644
--- a/src/ZKEACMS.WebHost/Views/Shared/_EmptyLayout.cshtml
+++ b/src/ZKEACMS.WebHost/Views/Shared/_EmptyLayout.cshtml
@@ -6,9 +6,9 @@
@await Html.PartialAsync("Partial.PageHeader")
-
+
@RenderBody()
-
+
@await Html.PartialAsync("Partial.PageFooter")