Merge branch 'master' of git.neuf.no:edb/dns2019

This commit is contained in:
elisejakob committed 2019-01-29 21:42:01 +01:00
commit cbfd97a704
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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&#39;t exist... the sadness.</p>
<h1>404: Denne siden er på grisefest</h1>
<p>Lykke til videre.</p>
</div>
</Layout>
)