text: module.exports = {
    siteMetadata: {
      title: `Netdata Marketplace`,
      author: {
        name: `@odyslam`,
        summary: `A community marketplace for Netdata agent collectors and alerts`,
      },
      description: `A community marketplace for Netdata Agent collectors and alerts`,
      siteUrl: `https://marketplace.netdata.cloud`,
      social: {
        twitter: `linuxnetdata`,
      },
      socialLinks: [
        {
          name: 'github',
          url: 'https://github.com/netdata/community',
        },
        {
          name: 'twitter',
          url: 'https://twitter.com/linuxnetdata',
        }
      ],
    },
    plugins: [
      `gatsby-plugin-styled-components`,
      `gatsby-plugin-image`,
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: 'gatsby-source-filesystem',
        options: {
          name: `media`,
          path: `${__dirname}/static/media`,
        },
      },
      {
        resolve: 'gatsby-source-filesystem',
        options: {
          name: 'pages',
          path: `${__dirname}/content/pages`,
        },
      },
      {
        resolve: 'gatsby-source-filesystem',
        options: {
          name: 'posts',
          path: `${__dirname}/content/posts`,
        },
      },
      {
        resolve: `gatsby-transformer-remark`,
        options: {
          plugins: [
            {
              resolve: `gatsby-remark-relative-images`,
              options: {
                staticFolderName: 'static',
              },
            },
            {
              resolve: `gatsby-remark-images`,
              options: {
                maxWidth: 630,
              },
            },
            {
              resolve: `gatsby-remark-responsive-iframe`,
              options: {
                wrapperStyle: `margin-bottom: 1.0725rem`,
              },
            },
            `gatsby-remark-prismjs`,
            `gatsby-remark-copy-linked-files`,
            `gatsby-remark-smartypants`,
          ],
        },
      },
      {
        resolve: 'gatsby-plugin-netlify-cms',
        options: {
          modulePath: `${__dirname}/src/netlify-cms/index.js`,
          enableIdentityWidget: true,
          publicPath: 'admin',
          htmlTitle: 'Content Manager',
          includeRobots: false,
        },
      },
      {
        resolve: `gatsby-plugin-feed`,
        options: {
          query: `
            {
              site {
                siteMetadata {
                  title
                  description
                  siteUrl
                  site_url: siteUrl
                }
              }
            }
          `,
          feeds: [
            {
              serialize: ({ query: { site, allMarkdownRemark } }) => {
                return allMarkdownRemark.nodes.map((node) => {
                  return Object.assign({}, node.frontmatter, {
                    description: node.excerpt,
                    date: node.frontmatter.date,
                    url: site.siteMetadata.siteUrl + node.fields.slug,
                    guid: site.siteMetadata.siteUrl + node.fields.slug,
                    custom_elements: [{ 'content:encoded': node.html }],
                  });
                });
              },
              query: `
                {
                  allMarkdownRemark(
                    sort: { order: DESC, fields: [frontmatter___date] },
                  ) {
                    nodes {
                      excerpt
                      html
                      fields {
                        slug
                      }
                      frontmatter {
                        title
                        date
                      }
                    }
                  }
                }
              `,
              output: '/rss.xml',
            },
          ],
        },
      },
      {
        resolve: `gatsby-plugin-google-fonts`,
        options: {
          fonts: [`Source Sans Pro`, `IBM Plex Sans\:400,400i,700`],
          display: 'swap',
        },
      },
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `Gatsby Frosted Blog`,
          short_name: `Gatsby Frosted`,
          start_url: `/`,
          background_color: `#ffffff`,
          theme_color: `#663399`,
          display: `minimal-ui`,
          icon: `src/images/netdata-logomark.svg`,
        },
      },
      `gatsby-plugin-react-helmet`,
    ],
  };
  