text: module.exports = {
    siteMetadata: {
      maxWidth: 1100,
      title: `Trollsjönäs`,
      description: `Hyr stugor i vättlefjäll.`,
      author: `Stiftelsen Göta Lejons Friluftsgård`,
      siteUrl: `https://trollsjonas.gotalejon.org`
    },
    plugins: [
      {
        resolve: 'gatsby-plugin-web-font-loader',
        options: {
          google: {
            families: ['Roboto']
          }
        }
      },
      `gatsby-plugin-react-helmet`,
      `gatsby-transformer-json`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `pages`,
          path: `${__dirname}/content`,
        },
      },
      {
        resolve: `gatsby-transformer-remark`,
        options: {
          plugins: [
            {
              resolve: "gatsby-remark-component",
              options: { components: ["booking-form"] }
            },
            "gatsby-remark-component",
            "gatsby-remark-copy-linked-files",
            {
              resolve: `gatsby-remark-images`,
              options: {
                // It's important to specify the maxWidth (in pixels) of
                // the content container as this plugin uses this as the
                // base for generating different widths of each image.
                maxWidth: 650,
              },
            },
          ],
        },
      },
      {
        resolve: `gatsby-plugin-material-ui`,
        options: {
          stylesProvider: {
            injectFirst: true,
          },
        },
      },
      `gatsby-plugin-styled-components`,
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      `gatsby-plugin-catch-links`,
      `gatsby-plugin-sitemap`,
      {
        resolve: 'gatsby-plugin-htaccess',
        options: {
          //RewriteBase: '/custom/',
          //https: true,
          //www: true,
          //SymLinksIfOwnerMatch: true,
          //host: 'www.mydomain.com', // if 'www' is set to 'false', be sure to also remove it here!
          //ErrorDocument: `
          //  ErrorDocument 401 /error_pages/401.html
          //  ErrorDocument 404 /error_pages/404.html
          //  ErrorDocument 500 /error_pages/500.html
          //`,
          redirect: [
            'RewriteRule ^priser/?$ /hyra [R=301,L,NE]',
          ],
        },
      },
      `gatsby-plugin-robots-txt`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `Trollsjönäs`,
          short_name: `Trollsjönäs`,
          start_url: `/`,
          background_color: `#663399`,
          theme_color: `#663399`,
          display: `minimal-ui`,
          icon: `src/images/favicon.png`, // This path is relative to the root of the site.
          icons: [
            {
              src: `/favicons/icon-48x48.png`,
              sizes: `48x48`,
              type: `image/png`,
            },
            {
              src: `/favicons/icon-72x72.png`,
              sizes: `72x72`,
              type: `image/png`,
            },
            {
              src: `/favicons/icon-96x96.png`,
              sizes: `96x96`,
              type: `image/png`,
            },
            {
              src: `/favicons/icon-144x144.png`,
              sizes: `144x144`,
              type: `image/png`,
            },
            {
              src: `/favicons/icon-192x192.png`,
              sizes: `192x192`,
              type: `image/png`,
            },
            {
              src: `/favicons/icon-256x256.png`,
              sizes: `256x256`,
              type: `image/png`,
            },
            {
              src: `/favicons/icon-384x384.png`,
              sizes: `384x384`,
              type: `image/png`,
            },
            {
              src: `/favicons/icon-512x512.png`,
              sizes: `512x512`,
              type: `image/png`,
            }
          ],
        },
      },
      `gatsby-plugin-offline`,
      {
        resolve: `gatsby-plugin-google-analytics`,
        options: {
          trackingId: "UA-25532932-2",
          // Defines where to place the tracking script - `true` in the head and `false` in the body
          head: false,
          // Setting this parameter is optional
          anonymize: true,
          // Setting this parameter is also optional
          respectDNT: true
        },
      },
      // this (optional) plugin enables Progressive Web App + Offline functionality
      // To learn more, visit: https://gatsby.dev/offline
      // `gatsby-plugin-offline`,
    ],
  }
  