module.exports = {
  siteMetadata: {
    title: 'SPB Frontend',
    description: 'SPB Frontend official site',
    siteUrl: 'https://spb-frontend.ru',
  },
  plugins: [
    {
      resolve: 'gatsby-source-filesystem',
      options: {
        name: 'podcast',
        path: `${__dirname}/podcast`,
      }
    },
    'gatsby-transformer-remark',
    'gatsby-transformer-json',
    {
      resolve: 'plugin-feed',
      options: {
        query: `
          {
            site {
              siteMetadata {
                title
                description
                siteUrl
              }
            }
          }
        `,
        feeds: [
          {
            query: `
              {
                allMarkdownRemark(
                  limit: 1000,
                  sort: { order: DESC, fields: [frontmatter___date] },
                  filter: {
                    fileAbsolutePath: { regex: "/podcast/" }
                  }
                ) {
                  edges {
                    node {
                      html
                      frontmatter {
                        link
                        title
                        date
                      }
                    }
                  }
                }
              }
            `,
            output: '/podcast.xml'
          }
        ]
      }
    },
    {
      resolve: 'gatsby-plugin-manifest',
      options: {
        name: 'SPB Frontend official site',
        short_name: 'Akurganow',
        start_url: '/',
        background_color: '#fff',
        display: 'minimal-ui',
        icons: [
          {
            src: '/favicons/android-chrome-192x192.png',
            sizes: '192x192',
            type: 'image/png',
          },
          {
            src: '/favicons/android-chrome-512x512.png',
            sizes: '512x512',
            type: 'image/png',
          },
        ],
      }
    },
    'gatsby-plugin-react-helmet'
  ],
}

@@ -79,37 +79,276 @@
 n: '
-SPB Frontend official site
+%D0%9F%D0%B8%D1%82%D0%B5%D1%80%D1%81%D0%BA%D0%BE%D0%B5 %D1%81%D0%BE%D0%BE%D0%B1%D1%89%D0%B5%D1%81%D1%82%D0%B2%D0%BE %D1%84%D1%80%D0%BE%D0%BD%D1%82%D0%B5%D0%BD%D0%B4%D0%B5%D1%80%D0%BE%D0%B2 SPB Frontend',%0A    siteUrl: 'https://spb-frontend.ru',%0A    link: 'http://spb-frontend.ru/podcast/',%0A    podcast: %7B%0A      title: 'SPB Frontend Drinkcast',%0A      description: '%D0%9F%D0%BE%D0%B4%D0%BA%D0%B0%D1%81%D1%82 %D0%BF%D0%B8%D1%82%D0%B5%D1%80%D1%81%D0%BA%D0%BE%D0%B3%D0%BE %D1%81%D0%BE%D0%BE%D0%B1%D1%89%D0%B5%D1%81%D1%82%D0%B2%D0%B0 %D1%84%D1%80%D0%BE%D0%BD%D1%82%D0%B5%D0%BD%D0%B4%D0%B5%D1%80%D0%BE%D0%B2 SPB Frontend
 ',%0A
+  
     
@@ -361,37 +361,256 @@
 l: 'http
-s://spb-frontend.ru',
+://spb-frontend.ru/podcast/',%0A      image_url: 'http://spb-frontend.ru/images/drinkcast.png',%0A      feed_url: 'http://spb-frontend.ru/podcast.xml',%0A      language: 'ru',%0A      author: 'SPB Frontend',%0A      categories: %5B'Professional'%5D%0A    %7D
 %0A  %7D,%0A  
@@ -958,16 +958,44 @@
 adata %7B%0A
+                podcast %7B%0A  
         
@@ -1000,32 +1000,34 @@
           title%0A
+  
                 
@@ -1058,16 +1058,18 @@
     
+  
 siteUrl%0A
     
@@ -1064,16 +1064,170 @@
 siteUrl%0A
+                  image_url%0A                  feed_url%0A                  language%0A                  author%0A                  categories%0A                %7D%0A
         
@@ -1807,16 +1807,46 @@
    date%0A
+                        image%0A
         

Update site metadata