Skip to content

Commit f6206d8

Browse files
authored
wrap NotFound template with Layout component (#145)
1 parent 813a836 commit f6206d8

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/templates/not_found/index.jsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
import React from 'react';
2+
import Layout from '../../components/Layout';
23

34
const NotFound = () => {
45
return (
5-
<h1>Page not found.</h1>
6+
<Layout title="Page not found">
7+
<div class="dc-page container">
8+
<h1>Page not found.</h1>
9+
<p>We're sorry, we can't find the page you're looking for.</p>
10+
</div>
11+
</Layout>
612
);
713
}
814

0 commit comments

Comments
 (0)