text: const dotenv = require('dotenv')
  
  if(process.env.NODE_ENV !== 'production'){
    dotenv.config()
  }
  
  module.exports = {
    siteMetadata: {
      title: `Name`,
      author: {
        name: `Gokul P`,
        summary: `Developer who loves travelling`,
      },
      description: `A starter blog demonstrating what Gatsby can do.`,
      siteUrl: `https://modelblog.netlify.app/`
    },
    plugins: [
      {
        resolve: `gatsby-transformer-remark`,
        options: {
          plugins: [
            {
              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`,
          ],
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-plugin-google-analytics`,
        options: {
          //trackingId: `ADD YOUR TRACKING ID HERE`,
        },
      },
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `Name`,
          short_name: `blog`,
          start_url: `/`,
          background_color: `#ffffff`,
          theme_color: `#663399`,
          display: `minimal-ui`,
          icon: `content/assets/gatsby-icon.png`,
        },
      },
      `gatsby-plugin-react-helmet`,
      // this (optional) plugin enables Progressive Web App + Offline functionality
      // To learn more, visit: https://gatsby.dev/offline
      // `gatsby-plugin-offline`,
      {
        resolve: `gatsby-source-contentful`,
        options: {
          spaceId: `xpitwo5bbmn6`,
          accessToken: process.env.CONTENTFUL_ACCESS_TOKEN
        },
      },
      `gatsby-plugin-styled-components`
    ],
  }
  