text: module.exports = {
    siteMetadata: {
      title: `Summerside Community Choir`,
      description: `PEI's longest-running community Choir!`,
      author: `@summersidechoir`,
      siteUrl: `https://sccplayground.netlify.app/`,
    },
    plugins: [
      {
        resolve: `gatsby-plugin-feed`,
        options: {
          query: `
            {
              site {
                siteMetadata {
                  title
                  description
                  siteUrl
                  site_url: siteUrl
                }
              }
            }
          `,
          setup: (options) => ({
            ...options,
            custom_elements: [
              {
                'atom:link href="https://sccplayground.netlify.app/rss.xml" rel="self" type="application/rss+xml"': null,
              },
            ],
        }),
          feeds: [
            {
              serialize: ({ query: { site, allMarkdownRemark } }) => {
                return allMarkdownRemark.edges.map(edge => {
                  return Object.assign({}, edge.node.frontmatter, {
                    description: edge.node.excerpt,
                    date: edge.node.frontmatter.date,
                    url: site.siteMetadata.siteUrl + "/posts/" + edge.node.fields.slug,
                    guid: site.siteMetadata.siteUrl + "/posts/" + edge.node.fields.slug,
                    custom_elements: [{ "content:encoded": edge.node.html }],
                  })
                })
              },
              query: `
                {
                  allMarkdownRemark(
                    sort: { order: DESC, fields: [frontmatter___date] },
                  ) {
                    edges {
                      node {
                        excerpt
                        html
                        fields { slug }
                        frontmatter {
                          title
                          date
                        }
                      }
                    }
                  }
                }
              `,
              output: "/rss.xml",
              title: "Summerside Community Choir News",
            },
          ],
        },
      },
      `gatsby-plugin-react-helmet`,
      
      {
        resolve: "gatsby-source-filesystem",
        options: {
          name: "src",
          path: `${__dirname}/src/`,
        },
      },
      `gatsby-plugin-image`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      {
        resolve: `gatsby-transformer-remark`,
        options: {
          plugins: [
            `gatsby-remark-autolink-headers`,
            `gatsby-remark-relative-images`,
            {
              resolve: `gatsby-remark-images`,
              options: {
                maxWidth: 800,
                linkImagesToOriginal: true,
                showCaptions: true,
                withWebp: true,
                wrapperStyle: 'padding-top:1.25em; padding-left: 0.5em; padding-right: 0.5em; text-align: center; color:#5e5c5c; background-color:#e8e8e8; font-style: italic; font-size: smaller;'
              }
            },
            {
              resolve: 'gatsby-remark-code-titles',
              options: {
                className: 'gatsby-remark-code-titles',
              },
            }, // IMPORTANT: this must be ahead of other plugins that use code blocks
            {
              resolve: `gatsby-remark-prismjs`,
              options: {
                classPrefix: "language-",
                inlineCodeMarker: null,
                aliases: {},
              },
            },
          ]
        }
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `gatsby-starter-default`,
          short_name: `starter`,
          start_url: `/`,
          background_color: `#663399`,
          theme_color: `#663399`,
          display: `minimal-ui`,
          icon: `src/images/sgatsby-icon.png`, // This path is relative to the root of the site.
        },
      },
   
      `gatsby-plugin-gatsby-cloud`,
      // this (optional) plugin enables Progressive Web App + Offline functionality
      // To learn more, visit: https://gatsby.dev/offline
      `gatsby-plugin-offline`,
    ],
  }
  