Merge branch 'master' of git.neuf.no:edb/dns2019
This commit is contained in:
commit
cbfd97a704
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -224,7 +224,7 @@ exports.onCreateNode = ({ node, actions, getNode }) => {
|
||||
}
|
||||
|
||||
if ((node.internal.type === 'wordpress__POST') ||
|
||||
(node.internal.type === 'wordpress__EVENT')) {
|
||||
(node.internal.type === 'wordpress__wp_events')) {
|
||||
const link = new URL(node.link).pathname
|
||||
createNodeField({
|
||||
node,
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@ import Layout from '../components/Layout'
|
||||
const NotFoundPage = () => (
|
||||
<Layout>
|
||||
<div>
|
||||
<h1>NOT FOUND</h1>
|
||||
<p>You just hit a route that doesn't exist... the sadness.</p>
|
||||
<h1>404: Denne siden er på grisefest</h1>
|
||||
<p>Lykke til videre.</p>
|
||||
</div>
|
||||
</Layout>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user