text: module.exports = {
    siteMetadata: {
      // edit below
      title: `The Bosman Blog`,
      author: `Joshua Bosman`,
      description: `A look at what a little lad from Brum does with his life`,
      siteUrl: `https://joshuabosman.com/`,
      social: {
        twitter: `MrJoshBos`,
      },
    },
    plugins: [
      `gatsby-plugin-netlify-cms`,
      `gatsby-plugin-styled-components`,
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      `gatsby-plugin-offline`,
      `gatsby-plugin-react-helmet`,
      {
        resolve: "gatsby-plugin-local-search",
        options: {
          name: "blog",
          engine: "flexsearch",
          engineOptions: {
            encode: "icase",
            tokenize: "forward",
            async: false,
          },
          query: `
            {
              allMdx {
                nodes {
                  id
                  fields { slug }
                  excerpt
                  rawBody
                  frontmatter {
                    title
                    description
                    date(formatString: "MMMM DD, YYYY")
                  }
                }
              }
            }
          `,
          ref: "id",
          index: ["title", "rawBody"],
          store: ["id", "slug", "date", "title", "excerpt", "description"],
          normalizer: ({ data }) =>
            data.allMdx.nodes.map(node => ({
              id: node.id,
              slug: node.fields.slug,
              rawBody: node.rawBody,
              excerpt: node.excerpt,
              title: node.frontmatter.title,
              description: node.frontmatter.description,
              date: node.frontmatter.date,
            })),
        },
      },
      `gatsby-plugin-feed-mdx`,
      `gatsby-plugin-root-import`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/content/blog`,
          name: `blog`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/content/assets`,
          name: `assets`,
        },
      },
      {
        resolve: `gatsby-plugin-mdx`,
        options: {
          extensions: [".mdx", ".md"],
          gatsbyRemarkPlugins: [
            {
              resolve: `gatsby-remark-images`,
              options: {
                maxWidth: 590,
              },
            },
            {
              resolve: `gatsby-remark-responsive-iframe`,
              options: {
                wrapperStyle: `margin-bottom: 1.0725rem`,
              },
            },
            {
              resolve: `gatsby-remark-vscode`,
            },
            {
              resolve: `gatsby-remark-copy-linked-files`,
            },
            {
              resolve: `gatsby-remark-smartypants`,
            },
          ],
          plugins: [`gatsby-remark-images`],
        },
      },
      {
        resolve: `gatsby-plugin-google-analytics`,
        options: {
          // edit below
          // trackingId: `ADD YOUR TRACKING ID HERE`,
        },
      },
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `Joshua Bosman`,
          short_name: `Bosman`,
          start_url: `/`,
          background_color: `#ffffff`,
          theme_color: `#663399`,
          display: `minimal-ui`,
          // edit below
          icon: `content/assets/jb-900x900.jpg`,
        },
      },
      {
        resolve: `gatsby-plugin-typography`,
        options: {
          pathToConfigModule: `src/utils/typography`,
        },
      },
    ],
  }
  