text: module.exports = {
    siteMetadata: {
      title: 'K. Anthony: LX Designer',
      siteUrl: 'https://knanthony.com'
    },
    plugins: [
      `gatsby-plugin-react-helmet`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/src/pages`,
          name: 'pages',
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/src/pages/posts`,
          name: 'posts',
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `img`,
          path: `${__dirname}/src/components/images`
        }
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `featured`,
          path: `${__dirname}/src/pages/posts/featured`
        }
      },
      {
        resolve: 'gatsby-transformer-remark',
          options: {
            plugins: [
              {
                resolve: 'gatsby-remark-images',
                options: {
                  maxWidth: 810,
                  quality: 60,
                  linkImagesToOriginal: false,
                },
              },
              {
                resolve: "gatsby-remark-smartypants",
                options: {
                  dashes: "oldschool",
                },
              },
              {
                resolve: "gatsby-remark-embed-video",
                options: {
                  width: 800,
                  ratio: 1.77, // Optional: Defaults to 16/9 = 1.77
                  related: false, //Optional: Will remove related videos from the end of an embedded YouTube video.
                  noIframeBorder: true //Optional: Disable insertion of <style> border: 0
                }
              },
              {
                resolve: `gatsby-remark-prismjs`,
                options: {
                  // Class prefix for <pre> tags containing syntax highlighting;
                  // defaults to 'language-' (eg <pre class="language-js">).
                  // If your site loads Prism into the browser at runtime,
                  // (eg for use with libraries like react-live),
                  // you may use this to prevent Prism from re-processing syntax.
                  // This is an uncommon use-case though;
                  // If you're unsure, it's best to use the default value.
                  classPrefix: "language-",
                  // This is used to allow setting a language for inline code
                  // (i.e. single backticks) by creating a separator.
                  // This separator is a string and will do no white-space
                  // stripping.
                  // A suggested value for English speakers is the non-ascii
                  // character '›'.
                  inlineCodeMarker: null,
                  // This lets you set up language aliases.  For example,
                  // setting this to '{ sh: "bash" }' will let you use
                  // the language "sh" which will highlight using the
                  // bash highlighter.
                  aliases: {},
                }
              },
              `gatsby-remark-responsive-iframe`,
              `gatsby-remark-katex`,
              `gatsby-remark-copy-linked-files`,
            ],
          },
      },
      `gatsby-plugin-sharp`,
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sass`,
      `gatsby-plugin-catch-links`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: "K. Anthony Portfolio",
          short_name: "KAnthony",
          start_url: "/",
          background_color: "#ffffff",
          theme_color: "#ea3257",
          display: "minimal-ui",
          icon: "src/pages/posts/featured/logoColor.png", // This path is relative to the root of the site.
        },
      },
      {
        resolve: `gatsby-plugin-feed`,
        options: {
          query: `
            {
              site {
                siteMetadata {
                  title
                  siteUrl
                  site_url: siteUrl
                }
              }
            }
          `,
          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 + edge.node.fields.slug,
                    guid: site.siteMetadata.siteUrl + 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: "Knanthony.com Blog Feed",
            },
          ],
        },
      },
      `gatsby-plugin-netlify`
    ],
  };