Rails

Meta tags help to render your website nicely in the browser, in search engines, and in social media link previews.
Favicon, site name, page title, page description, and page image are the most impactful meta tags.
Learn to set meta tags without and with gem "meta-tags".
Learn to preview meta tags by specialised crawler tools.
Episode source code: github.com/corsego/160-meta-t...
Based on this blogpost (it contains links to all the crawler tools): blog.corsego.com/meta-tags-wi...
0:00 How do meta tags work
3:30 meta page title
5:09 meta favicon
9:14 meta description
7:10 meta tags abstraction
9:15 meta image
10:38 page-specific meta tags
12:28 install and use gem meta-tags

Пікірлер: 5

  • @ledockol
    @ledockol2 ай бұрын

    Ура, дочекалися!!! Дякую Ярослав! Чекаємо на продовження.

  • @mikopiko
    @mikopiko2 ай бұрын

    Great video! Do you have any ideas on how you make the social sharing previews dynamic? So for example, if you share a post, the preview is an image of the post.

  • @SupeRails

    @SupeRails

    2 ай бұрын

    this is a VERY good question! I am considering making a separate video about it. Check out Episode 90,91 where I use Rmagick to generate images. There are other inspiring tools like this: github.com/igor-alexandrov/jekyll-og-image - I use it for my jekyll blog Other resources: jay.gooby.org/2022/05/11/automating-jekyll-card-generation-with-ruby-ferrum goodenough.us/blog/2024-02-12-how-we-built-unique-social-preview-images-for-pika/ github.blog/2021-06-22-framework-building-open-graph-images/

  • @mikopiko

    @mikopiko

    2 ай бұрын

    ​@@SupeRailsWow, thank you for the quick response! I'll definitely check those out.

  • @SupeRails

    @SupeRails

    2 ай бұрын

    @@mikopiko basically I see 3 ruby ways to solve this: ferrum, libvips, rmagic