text: const path = require("path")
  
  module.exports = {
    siteMetadata: {
      siteUrl: "https://blog.mybeerfactory.fr",
      title: `Beer Factory - Le blog`,
      description: `Un blog qui parle du monde brassicole!`,
      author: `Quentin CHAPELLE`,
    },
    plugins: [
      "gatsby-plugin-mdx-frontmatter",
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      `gatsby-remark-images`,
      {
        resolve: `gatsby-plugin-mdx`,
        options: {
          extensions: [`.mdx`, `.md`],
          defaultLayouts: {
            posts: path.resolve("./src/components/layout.js"),
            default: path.resolve("./src/templates/blog-post.js"),
          },
          gatsbyRemarkPlugins: [
            {
              resolve: `gatsby-remark-images`,
              options: {
                maxWidth: 500,
              },
            },
          ],
        },
      },
  
      `gatsby-plugin-sitemap`,
      `gatsby-plugin-styled-components`,
      `gatsby-plugin-react-helmet`,
  
      {
        resolve: `gatsby-plugin-google-analytics`,
        options: {
          // The property ID; the tracking code won't be generated without it
          trackingId: "UA-35035484-6",
          // Defines where to place the tracking script - `true` in the head and `false` in the body
          head: true,
          // Setting this parameter is optional
          anonymize: true,
        },
      },
      {
        resolve: `gatsby-plugin-material-ui`,
        options: {
          stylesProvider: {
            injectFirst: true,
          },
        },
      },
  
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
  
      {
        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/logo512.png`, // This path is relative to the root of the site.
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `pages`,
          path: `${__dirname}/src/pages/`,
        },
      },
      {
        resolve: `gatsby-plugin-build-date`,
        options: {
          formatAsDateString: true, // boolean, defaults to true - if false API will return unformatted string from new Date()
          formatting: {
            format: "DD/MM/YYYY", // string, defaults to "MM/DD/YYYY" - pass in any acceptable date-and-time format
            utc: false, // boolean, defaults to false - output time as UTC or not, following date-and-time API
          },
          locale: "fr", // string, defaults to null, which date-and-time defaults as "en" - whether to localize the date or not, can use any available date-and-time localization
        },
      },
  
      // this (optional) plugin enables Progressive Web App + Offline functionality
      // To learn more, visit: https://gatsby.dev/offline
      // `gatsby-plugin-offline`,
    ],
  }
  