text: module.exports = {
    siteMetadata: {
      title: `Chris Griffing`,
      description: `I like to make things and every once in a while I remember to blog about it. The topics a varied but often useful. Hopefully, you find something you are interested in.`,
      author: `@cmgriffing`,
    },
    plugins: [
      `gatsby-plugin-react-helmet`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `chris-griffing`,
          short_name: `chris-griffing`,
          start_url: `/`,
          background_color: `#663399`,
          theme_color: `#663399`,
          display: `minimal-ui`,
          icon: `src/images/logo.png`, // This path is relative to the root of the site.
        },
      },
      // this (optional) plugin enables Progressive Web App + Offline functionality
      // To learn more, visit: https://gatsby.dev/offline
      // `gatsby-plugin-offline`,
      `gatsby-plugin-styled-components`,
      `gatsby-transformer-sharp`,
      `gatsby-transformer-sqip`,
      `gatsby-plugin-sharp`,
      `gatsby-remark-source-name`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `blog`,
          path: `${__dirname}/src/blog`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/src/blog/images`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `projects`,
          path: `${__dirname}/src/projects`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/src/projects/images`,
        },
      },
      {
        resolve: `gatsby-transformer-remark`,
        options: {
          plugins: [
            {
              resolve: `gatsby-remark-images`,
              options: {
                // It's important to specify the maxWidth (in pixels) of
                // the content container as this plugin uses this as the
                // base for generating different widths of each image.
                maxWidth: 590,
              },
            },
            {
              resolve: `gatsby-remark-prismjs`,
              options: {},
            },
          ],
        },
      },
      {
        resolve: "gatsby-plugin-excerpts",
        options: {
          sources: {
            default: {
              type: "htmlQuery",
              sourceField: "html",
              excerptSelector: "html > *",
              ignoreSelector: "img, .gatsby-highlight",
              stripSelector: "a",
              elementReplacements: [
                {
                  selector: "h6",
                  replaceWith: "strong",
                },
                {
                  selector: "h5",
                  replaceWith: "h6",
                },
                {
                  selector: "h4",
                  replaceWith: "h5",
                },
                {
                  selector: "h3",
                  replaceWith: "h4",
                },
                {
                  selector: "h2",
                  replaceWith: "h3",
                },
              ],
              truncate: {
                length: 80,
                byWords: false,
                ellipsis: "…",
              },
            },
          },
          sourceSets: {
            markdownHtml: ["default"],
          },
          excerpts: {
            snippet: {
              type: "html",
              nodeTypeSourceSet: {
                MarkdownRemark: "markdownHtml",
              },
            },
          },
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `metrics`,
          path: `${__dirname}/src/stream-metrics/`,
        },
      },
      `gatsby-transformer-csv`,
      {
        resolve: `gatsby-plugin-plausible`,
        options: {
          domain: `chrisgriffing.com`,
        },
      },
    ],
  }
  