From ba8039c334eaa26ac00ca9439d521fe78c04c5dd Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Mon, 15 May 2023 13:38:07 -0400 Subject: [PATCH] Add 404 error page (#4076) * Add a 404 page Signed-off-by: Fanit Kolchina * Add header Signed-off-by: Fanit Kolchina * Reword Signed-off-by: Fanit Kolchina * Reword sentence Signed-off-by: Fanit Kolchina --------- Signed-off-by: Fanit Kolchina --- 404.md | 18 ++++++------------ _layouts/default.html | 4 ++-- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/404.md b/404.md index 93f35f9b..498a540c 100644 --- a/404.md +++ b/404.md @@ -1,17 +1,11 @@ --- permalink: /404.html -layout: error -errormessage: 🙅‍♀️ 404 -body_class: homepage -errorhuman: "OpenSearch can't find that page." +title: 404 +layout: default +heading_anchors: false +nav_exclude: true --- -Sorry about that. Perhaps we moved something around, or you mistyped the URL? - - -Head to the [OpenSearch Documentation home page](https://opensearch.org/docs/latest/) or try our [community forum](https://forum.opensearch.org/). - - - - +# OpenSearch cannot find that page. +Perhaps we moved something around, or you mistyped the URL? Try using search or go to the [OpenSearch Documentation home page](https://opensearch.org/docs/latest/). If you need further help, see the [OpenSearch community forum](https://forum.opensearch.org/). diff --git a/_layouts/default.html b/_layouts/default.html index 443a5f3a..8cce32d7 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -52,7 +52,7 @@ layout: table_wrappers
-

Documentation

+

Documentation

{% if site.search_enabled != false or site.use_custom_search == true %}