menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Gatsby

Fast in every way that matters. Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps.

Channels
Team

Gatsby Site Meta tag not showing on page source

June 6, 2021 at 6:09pm

Gatsby Site Meta tag not showing on page source

June 6, 2021 at 6:09pm
Anyone can help me find out the issue.
Regards

June 7, 2021 at 12:16pm
How are you adding those metatags? Are you using Helmet? If so, are you rendering it during server side rendering or are you dynamically rendering it after the page was rendered (for example, based on the state)? Metatags need to be rendered on server so they are part of the page's codebase (check yours here view-source:https://cuteanimalplanet.netlify.app/10-pictures-of-tiny-kittens-youll-want-to-put-in-your-pocket/ and you will see they are not being rendered there).