text: 'use strict'
  
  require('dotenv').config({
    path: `.env`
  })
  
  module.exports = {
    pathPrefix: '/gatsby-personal-site',
    siteMetadata: {
      title: `ramonmorcillo.com`,
      description: `My personal site made with Gatsby.js`,
      siteUrl: `https://ramonmorcillo.com`,
      image: `/images/ramon_morcillo_meta_image.jpg`,
      googleSiteVerification:
        process.env.GOOGLE_SITE_VERIFICATION ||
        'Add the Google Site Verification',
      author: {
        name: `Ramon Morcillo`,
        intro: `Hi, I am Ramón Morcillo, a Software Engineer from Spain`,
        url: `https://ramonmorcillo.com`,
        email: `hey@ramonmorcillo.com`
      },
      social: [
        {name: `GitHub`, socialUrl: `https://github.com/reymon359`},
        {
          name: `Linkedin`,
          socialUrl: `https://www.linkedin.com/in/ramon-morcillo/`
        },
        {name: `Codepen`, socialUrl: `https://codepen.io/reymon359`},
        {name: `Twitter`, socialUrl: `https://twitter.com/reymon359`}
      ]
    },
    plugins: [
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/content/posts`,
          name: `posts`
        }
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/content/projects`,
          name: `projects`
        }
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/static/images`,
          name: `images`
        }
      },
      {
        resolve: `gatsby-transformer-remark`,
        options: {
          plugins: [
            {
              resolve: `gatsby-remark-images`,
              options: {
                maxWidth: 600,
                showCaptions: [`alt`],
                markdownCaptions: true,
                backgroundColor: 'none',
                wrapperStyle: `border-bottom: none;`
              }
            },
            {
              resolve: `gatsby-remark-responsive-iframe`,
              options: {
                wrapperStyle: `margin-bottom: 1rem; max-width: 600px; height: 400px; margin: auto;`
              }
            },
            {
              resolve: 'gatsby-remark-video',
              options: {
                width: 600,
                height: 'auto',
                preload: 'auto',
                muted: true,
                autoplay: true,
                playsinline: true,
                controls: true,
                loop: true
              }
            },
            {
              resolve: `gatsby-remark-autolink-headers`,
              options: {
                offsetY: `100`,
                // eslint-disable-next-line max-len
                icon: `<svg aria-hidden="true" height="20" version="1.1" viewBox="0 0 16 16" width="20" style="margin: 0 0 -0.2rem 0.7rem; "><path fill="white" fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg>`,
                className: `autolink-headers`,
                maintainCase: true,
                removeAccents: true,
                isIconAfterHeader: true
              }
            },
            {
              resolve: `gatsby-remark-prismjs`,
              options: {
                classPrefix: 'language-',
                inlineCodeMarker: true,
                showLineNumbers: false,
                noInlineHighlight: false
              }
            },
            `gatsby-remark-copy-linked-files`,
            `gatsby-remark-smartypants`
          ]
        }
      },
      {
        resolve: `gatsby-plugin-canonical-urls`,
        options: {
          siteUrl: `https://ramonmorcillo.com`
        }
      },
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `Ramon Morcillo`,
          short_name: `ramonmorcillo.com`,
          start_url: `/`,
          background_color: `#255799`,
          theme_color: `#255799`,
          display: `standalone`,
          icon: `static/images/favicon/orange.png`, // This path is relative to the root of the site.
          crossOrigin: `use-credentials`
        }
      },
      {
        resolve: `gatsby-plugin-google-analytics`,
        options: {
          trackingId:
            process.env.GOOGLE_ANALYTICS_TRACKING_ID ||
            'Add the Google Analytics Tracking ID'
        }
      },
      `gatsby-plugin-react-helmet`,
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      `gatsby-plugin-styled-components`,
      `gatsby-plugin-typescript`,
      `gatsby-plugin-sitemap`,
      `gatsby-transformer-json`,
      `gatsby-plugin-react-svg`,
      `gatsby-plugin-meta-redirect`
      // this (optional) plugin enables Progressive Web App + Offline functionality
      // To learn more, visit: https://gatsby.dev/offline
      // `gatsby-plugin-offline`,
    ]
  }
  