diff --git a/gatsby-node.js b/gatsby-node.js
index ae10bea..52e0028 100644
--- a/gatsby-node.js
+++ b/gatsby-node.js
@@ -3,7 +3,7 @@ const path = require(`path`)
exports.createPages = async ({ actions, graphql, reporter }) => {
const { createPage } = actions
- const blogPostTemplate = path.resolve(`src/templates/simpleTemplate.js`)
+ const siteTemplate = path.resolve(`src/templates/siteTemplate.js`)
const result = await graphql(`
{
@@ -31,7 +31,7 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
result.data.allMdx.edges.forEach(({ node }) => {
createPage({
path: node.frontmatter.path,
- component: blogPostTemplate,
+ component: siteTemplate,
context: {}, // additional data can be passed via context
})
})
diff --git a/src/markdown-pages/datenschutz.mdx b/src/markdown-pages/datenschutz.mdx
new file mode 100644
index 0000000..d7a20f6
--- /dev/null
+++ b/src/markdown-pages/datenschutz.mdx
@@ -0,0 +1,6 @@
+---
+path: "/datenschutz"
+title: "Datenschutzerklärung"
+---
+
+## Datenschutzerklärung
diff --git a/src/markdown-pages/events.mdx b/src/markdown-pages/events.mdx
new file mode 100644
index 0000000..41690b4
--- /dev/null
+++ b/src/markdown-pages/events.mdx
@@ -0,0 +1,6 @@
+---
+path: "/events"
+title: "Events"
+---
+
+## Events
diff --git a/src/markdown-pages/impressum.mdx b/src/markdown-pages/impressum.mdx
new file mode 100644
index 0000000..2ba4317
--- /dev/null
+++ b/src/markdown-pages/impressum.mdx
@@ -0,0 +1,6 @@
+---
+path: "/impressum"
+title: "Impressum"
+---
+
+## Impressum
diff --git a/src/markdown-pages/kontakt.mdx b/src/markdown-pages/kontakt.mdx
new file mode 100644
index 0000000..bc0ffea
--- /dev/null
+++ b/src/markdown-pages/kontakt.mdx
@@ -0,0 +1,6 @@
+---
+path: "/kontakt"
+title: "Kontakt"
+---
+
+## Kontakt
diff --git a/src/markdown-pages/verein.mdx b/src/markdown-pages/verein.mdx
new file mode 100644
index 0000000..ea0d358
--- /dev/null
+++ b/src/markdown-pages/verein.mdx
@@ -0,0 +1,6 @@
+---
+path: "/verein"
+title: "Verein"
+---
+
+## Verein
diff --git a/src/pages/events.js b/src/pages/events.js
deleted file mode 100644
index 63b85a7..0000000
--- a/src/pages/events.js
+++ /dev/null
@@ -1,4 +0,0 @@
-import React from "react"
-import Layout from "../components/layout"
-
-export default () =>
diff --git a/src/pages/kontakt.js b/src/pages/kontakt.js
deleted file mode 100644
index 63b85a7..0000000
--- a/src/pages/kontakt.js
+++ /dev/null
@@ -1,4 +0,0 @@
-import React from "react"
-import Layout from "../components/layout"
-
-export default () =>
diff --git a/src/pages/verein.js b/src/pages/verein.js
deleted file mode 100644
index 63b85a7..0000000
--- a/src/pages/verein.js
+++ /dev/null
@@ -1,4 +0,0 @@
-import React from "react"
-import Layout from "../components/layout"
-
-export default () =>
diff --git a/src/templates/simpleTemplate.js b/src/templates/siteTemplate.js
similarity index 100%
rename from src/templates/simpleTemplate.js
rename to src/templates/siteTemplate.js