Skip to content

Commit 1d0d582

Browse files
committed
redirect from 404
1 parent bf5349b commit 1d0d582

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

src/layouts/404.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</header>
1919

2020
<main class="m-0 lg:px-5 mt-24 max-w-screen-xl mx-auto">
21-
{{> article-404}}
21+
{{> oap-article-404}}
2222
</main>
2323

2424
</body>

src/partials/oap-article-404.hbs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<article class="doc">
2+
<h1 class="page">{{{or page.title 'Page Not Found'}}}</h1>
3+
<div class="paragraph">
4+
<p>The page you&#8217;re looking for does not exist. It may have been moved. You can{{#with site.homeUrl}} return to the <a href="{{{this}}}">start page</a>{{/with}}.</p>
5+
</div>
6+
<div class="paragraph">
7+
<p>If you arrived on this page by clicking on a link, please notify the owner of the site that the link is broken.
8+
If you typed the URL of this page manually, please double check that you entered the address correctly.</p>
9+
</div>
10+
<div id="redirect" class="paragraph"></div>
11+
</article>
12+
13+
{{> oap-redirects}}

src/partials/oap-redirects.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- override -->

0 commit comments

Comments
 (0)