module.exports = {
  siteMetadata: {
    title: `Eder Christian`,
    position: `Partner and Front-end Developer at StartSe`,
    description: `A blog about my own path.`,
    author: `@ederchristian`,
    siteUrl: `https://ederchristian.com`,
  },
  plugins: [
    `gatsby-plugin-transition-link`,
    `gatsby-plugin-styled-components`,
    `gatsby-plugin-react-helmet`,
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `uploads`,
        path: `${__dirname}/static/assets/img`,
      },
    },
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `images`,
        path: `${__dirname}/src/images`,
      },
    },
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `posts`,
        path: `${__dirname}/posts`,
      },
    },
    {
      resolve: `gatsby-transformer-remark`,
      options: {
        plugins: [
          {
            resolve: "gatsby-remark-relative-images",
            options: {
              name: "uploads"
            }
          },
          {
            resolve: "gatsby-remark-images",
            options: {
              maxWidth: 960,
              linkImagesToOriginal: false
            }
          },
          `gatsby-remark-lazy-load`,
          `gatsby-remark-prismjs`
        ],
      },
    },
    `gatsby-transformer-sharp`,
    `gatsby-plugin-sharp`,
    {
      resolve: `gatsby-plugin-manifest`,
      options: {
        name: `Eder Christian`,
        short_name: `Eder Christian`,
        start_url: `/`,
        background_color: `#0e1218`,
        theme_color: `#0e1218`,
        display: `minimal-ui`,
        icon: `static/assets/favicons/favicon-32x32.png`,
      },
    },
    {
      resolve: "gatsby-plugin-react-svg",
      options: {
        rule: {
          include: /assets/
        }
      }
    },
    `gatsby-plugin-sitemap`,
    'gatsby-plugin-instagram-embed',
  ],
}

@@ -1907,15 +1907,44 @@
 embed',%0A
+    'gatsby-plugin-offline',%0A
   %5D,%0A%7D%0A

add gatsby-plugin-offline