Skip to content

Commit

Permalink
wrap NotFound template with Layout component (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgading authored Feb 23, 2024
1 parent 813a836 commit f6206d8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/templates/not_found/index.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import React from 'react';
import Layout from '../../components/Layout';

const NotFound = () => {
return (
<h1>Page not found.</h1>
<Layout title="Page not found">
<div class="dc-page container">
<h1>Page not found.</h1>
<p>We're sorry, we can't find the page you're looking for.</p>
</div>
</Layout>
);
}

Expand Down

0 comments on commit f6206d8

Please sign in to comment.