404 page integrated 👌🏼

This commit is contained in:
Eduardo 2019-02-23 13:30:29 +01:00
parent f472837d49
commit 8d1b05ac79
3 changed files with 20 additions and 4 deletions

View file

@ -20,10 +20,8 @@
</script>
</head>
<body class="{{body_class}}">
<main>
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
{{{body}}}
</main>
{{!-- Search form --}}
{{> search}}

15
error-404.hbs Normal file
View file

@ -0,0 +1,15 @@
{{!< default}}
{{!-- The header --}}
{{> header background=@site.cover_image}}
<main class="l-fullscreen">
<section class="l-fullscreen__content" data-aos="fade-up" data-aos-delay="300">
<h1 class="m-404-title">404</h1>
<p class="m-404-subtitle">Page not found</p>
<p class="m-404-text">
Unfortunately the page you were looking for could not be found.
</p>
<a href="{{@site.url}}" class="m-button outlined">Go to the home page</a>
</section>
</main>

View file

@ -3,3 +3,6 @@
{{!-- The header --}}
{{> header background=@site.cover_image}}
<main>
</main>