text: const path = require(`path`)
  
  const URL = "https://www.arquiteturaemtudo.com"
  
  const publicUrl = process.env.NODE_ENV === "production" ? URL : ""
  
  module.exports = {
    siteMetadata: {
      title: `Arquitetura em Tudo Podcast`,
      description: `O Arquitetura em Tudo é um podcast que busca garimpar na vida real os mais variados assuntos relacionados a Arquitetura.`,
      author: `@giselamd`,
      publicUrl,
    },
    plugins: [
      `gatsby-plugin-react-helmet`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      {
        resolve: "gatsby-source-filesystem",
        options: {
          path: `${__dirname}/src/episodes`,
          name: "episodes",
        },
      },
      `gatsby-plugin-mdx`,
      {
        resolve: `gatsby-plugin-google-fonts`,
        options: {
          fonts: [`Montserrat`],
        },
      },
      `gatsby-transformer-sharp`,
      "gatsby-transformer-remark",
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-transformer-remark`,
        options: {
          plugins: [
            {
              resolve: "gatsby-remark-external-links",
              options: {
                target: "_black",
                rel: "noopener noreferer",
              },
            },
            {
              resolve: `gatsby-remark-relative-images`,
            },
            {
              resolve: `gatsby-remark-images`,
              options: {
                maxWidth: 590,
                linkImagesToOriginal: false,
              },
            },
            {
              resolve: `gatsby-remark-responsive-iframe`,
              options: {
                wrapperStyle: `margin-bottom: 1.0725rem`,
              },
            },
            `gatsby-remark-copy-linked-files`,
            `gatsby-remark-smartypants`,
          ],
        },
      },
      {
        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/brand/favicon.png`,
        },
      },
      `gatsby-plugin-sharp`,
      `gatsby-transformer-sharp`,
      {
        resolve: `gatsby-plugin-google-analytics`,
        options: {
          // The property ID; the tracking code won't be generated without it
          trackingId: "UA-173562496-1",
        },
      },
    ],
  }
  