diff --git a/gatsby-config.js b/gatsby-config.js
index 6464be02..05268c46 100755
--- a/gatsby-config.js
+++ b/gatsby-config.js
@@ -128,7 +128,12 @@ module.exports = {
},
'gatsby-plugin-catch-links',
'gatsby-plugin-react-helmet',
- 'gatsby-plugin-sitemap',
+ {
+ resolve: 'gatsby-plugin-sitemap',
+ options: {
+ exclude: ['/test/']
+ }
+ },
{
resolve: 'gatsby-plugin-manifest',
options: {
diff --git a/src/pages/setup.js b/src/pages/setup.js
deleted file mode 100644
index 8b036448..00000000
--- a/src/pages/setup.js
+++ /dev/null
@@ -1,57 +0,0 @@
-import React from 'react'
-import PropTypes from 'prop-types'
-import { Link, graphql } from 'gatsby'
-import Layout from '../components/Layout'
-import HeaderSection from '../components/HeaderSection'
-import Content from '../components/Content'
-
-const SetupIndexPage = ({ data, location }) => {
- const { edges } = data.allMarkdownRemark
-
- const SetupList = edges.map(({ node }) => {
- const { title } = node.frontmatter
- const { slug } = node.fields
-
- return (
-
- {title}
-
- )
- })
-
- return (
-
-
-
-
-
-
- )
-}
-
-export default SetupIndexPage
-
-SetupIndexPage.propTypes = {
- data: PropTypes.object.isRequired,
- location: PropTypes.object.isRequired
-}
-
-export const indexQuery = graphql`
- query {
- allMarkdownRemark(filter: { fields: { section: { eq: "setup" } } }) {
- edges {
- node {
- id
- html
- excerpt(pruneLength: 250)
- frontmatter {
- title
- }
- fields {
- slug
- }
- }
- }
- }
- }
-`
diff --git a/src/pages/tutorials.js b/src/pages/tutorials.js
deleted file mode 100644
index 5981d70c..00000000
--- a/src/pages/tutorials.js
+++ /dev/null
@@ -1,59 +0,0 @@
-import React from 'react'
-import PropTypes from 'prop-types'
-import { Link, graphql } from 'gatsby'
-import Layout from '../components/Layout'
-import HeaderSection from '../components/HeaderSection'
-import Content from '../components/Content'
-
-const TutorialsIndexPage = ({ data, location }) => {
- const { edges } = data.allMarkdownRemark
-
- const TutorialsList = edges.map(({ node }) => {
- const { title } = node.frontmatter
- const { slug } = node.fields
-
- return (
-
- {title}
-
- )
- })
-
- return (
-
-
-
-
-
-
- )
-}
-
-export default TutorialsIndexPage
-
-TutorialsIndexPage.propTypes = {
- data: PropTypes.object.isRequired,
- location: PropTypes.object.isRequired
-}
-
-export const indexQuery = graphql`
- query {
- allMarkdownRemark(
- filter: { fields: { section: { eq: "tutorials" } } }
- ) {
- edges {
- node {
- id
- html
- excerpt(pruneLength: 250)
- frontmatter {
- title
- }
- fields {
- slug
- }
- }
- }
- }
- }
-`