Add 404 error page (#4076)

* Add a 404 page

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Add header

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Reword

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Reword sentence

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
kolchfa-aws 2023-05-15 13:38:07 -04:00 committed by GitHub
parent 1962ae96d4
commit ba8039c334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 14 deletions

18
404.md
View File

@ -1,17 +1,11 @@
--- ---
permalink: /404.html permalink: /404.html
layout: error title: 404
errormessage: 🙅‍♀️ 404 layout: default
body_class: homepage heading_anchors: false
errorhuman: "OpenSearch can't find that page." nav_exclude: true
--- ---
Sorry about that. Perhaps we moved something around, or you mistyped the URL? # OpenSearch cannot find that page.
Head to the [OpenSearch Documentation home page](https://opensearch.org/docs/latest/) or try our [community forum](https://forum.opensearch.org/).
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/).

View File

@ -52,7 +52,7 @@ layout: table_wrappers
<div id="main-header"></div> <div id="main-header"></div>
<div class="side-bar"> <div class="side-bar">
<div class="site-header"> <div class="site-header">
<a href="#" id="menu-button" class="site-button"> <a href="/docs/latest/" id="menu-button" class="site-button">
Documentation <svg viewBox="0 0 24 24" class="icon"><use xlink:href="#svg-grid"></use></svg> Documentation <svg viewBox="0 0 24 24" class="icon"><use xlink:href="#svg-grid"></use></svg>
</a> </a>
</div> </div>
@ -102,7 +102,7 @@ layout: table_wrappers
</div> </div>
<div class="copy-banner"> <div class="copy-banner">
<div class="container"> <div class="container">
<h1><a href="#">Documentation</a></h1> <h1><a href="/docs/latest/">Documentation</a></h1>
{% if site.search_enabled != false or site.use_custom_search == true %} {% if site.search_enabled != false or site.use_custom_search == true %}
<div class="search"> <div class="search">
<div class="search-input-wrap"> <div class="search-input-wrap">