diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-08 03:20:21 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-08 03:20:21 +0000 |
| commit | 8474126158ac2b998d2d45dfb7c69bd03fd8e0af (patch) | |
| tree | 7ad0a22bf76101f6dc5a228f18059313aed15d22 /source/_posts/custom-404-page.md | |
| parent | 6cfb99bddd44f825a8d3d6b5985ee9d75684bd9f (diff) | |
First post
Diffstat (limited to 'source/_posts/custom-404-page.md')
| -rw-r--r-- | source/_posts/custom-404-page.md | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/source/_posts/custom-404-page.md b/source/_posts/custom-404-page.md deleted file mode 100644 index fdeefc4..0000000 --- a/source/_posts/custom-404-page.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -extends: _layouts.post -section: content -title: Custom 404 Pages -date: 2018-12-23 -description: Add a custom 404 page is easy with Jigsaw -tags: [PHP, Apache] ---- - -This starter template includes a custom __404 Not Found__ error page, located at `/source/404.blade.php`. [To preview the 404 page](/404), you can visit `/404` in your browser. - -```html -<!-- source/404.blade.php --> - -@extends('_layouts.master') - -@section('body') - <div class="flex flex-col items-center text-gray-700 mt-32"> - <h1 class="text-6xl font-light leading-none mb-2">404</h1> - - <h2 class="text-3xl">Page not found.</h2> - - <hr class="block w-full max-w-sm mx-auto border my-8"> - - <p class="text-xl"> - Need to update this page? See the <a title="404 Page Documentation" href="https://jigsaw.tighten.co/docs/custom-404-page/">Jigsaw documentation</a>. - </p> - </div> -@endsection -``` - ---- - -Depending on where your site is hosted, you may need to configure your server to use the custom 404 page. For more details, visit the [Jigsaw documentation about configuring a custom 404 page](https://jigsaw.tighten.co/docs/custom-404-page/). |
