Skip to content

gatsby-plugin-react-helmet adds a blank title tag #36193

Answered by LekoArts
dan-mba asked this question in Help
Discussion options

You must be logged in to vote

This happens because you use react-helmet and the Head API in the same page. You have to use one of them, you can't use them together on the same page. When I removed the <Seo> component from src/pages/index.jsx in your reproduction there was no empty title tag.

To be fair, we weren't aware of this limitation but it's also not something we'll spend time on fixing as we want people to move to the Head API.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@dan-mba
Comment options

@marvinjude
Comment options

@dan-mba
Comment options

@dan-mba
Comment options

@marvinjude
Comment options

Answer selected by dan-mba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #36192 on July 20, 2022 12:43.