Improve SEO of Gatsby site

Поделиться
HTML-код
  • Опубликовано: 13 дек 2024

Комментарии • 12

  • @TheRoseWoodBody
    @TheRoseWoodBody 2 года назад

    Thanks for reminding me that light themes exist!

  • @sergeynazarov2473
    @sergeynazarov2473 3 года назад +1

    Not bad, but I've found more useful to set Helmet with all tags and rest data I need inside Layout component and pass data there from every page as object. Also, what do you know about destructuring in JS? Those "trains" inside templates could be much smaller...

  • @mikiyasgirma9752
    @mikiyasgirma9752 4 года назад +2

    Nice video... just if you can zoom in to the code a little bit for future will be awesome.

  • @grigoriymalyshev4782
    @grigoriymalyshev4782 4 года назад +1

    Hello!
    Have you encountered the issue with open graph, that content doesn't appears in snippets? Because of gatsby renders all helmet meta after the basic webpage structure and social-network parsers don't wait for full download?
    Very annoying bug.
    Or it's just my both left hands?

    • @Ondrabus
      @Ondrabus  4 года назад

      Hey Grigoriy, can you send a link to the page you're experiencing this on? If the bot supports JS, it should wait for the page to load, otherwise, there's always static HTML page available with all content.

    • @grigoriymalyshev4782
      @grigoriymalyshev4782 4 года назад +1

      @@Ondrabus Thanks for reply. I've found a problem - I've just used basic react-helmet instead of gatsby-react-helmet

    • @Ondrabus
      @Ondrabus  4 года назад +1

      @@grigoriymalyshev4782 Awesome, thanks for sharing your solution :)

  • @r0ger80
    @r0ger80 4 года назад +1

    Hey great video and thanks for the content!. Just one advice though. It's better if you zoom in the code it's quite hard to read

    • @Ondrabus
      @Ondrabus  4 года назад

      Thanks, I'll try to make the code bigger for the next video :-)

  • @wenezz
    @wenezz 4 года назад

    i followed your tutorial and I got the error: TypeError: Cannot read property 'siteMetadata' of undefined

    • @Ondrabus
      @Ondrabus  4 года назад

      When you try the GraphQL query in the explorer, does it work, i.e. does it return the right data?

  • @ricardorien
    @ricardorien 4 года назад +1

    Zoom and dark mode, for God sake.