Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix title tags per page for SEO #122

Open
sh1mmer opened this issue Feb 20, 2020 · 0 comments
Open

Fix title tags per page for SEO #122

sh1mmer opened this issue Feb 20, 2020 · 0 comments
Labels

Comments

@sh1mmer
Copy link
Collaborator

sh1mmer commented Feb 20, 2020

We don't have title tags on pages which may be affecting SEO. Ideally each page should have its own title that can be passed from the MDX (or whatever).

I tried adding this to an MDX page <helmet><title>Foo bar</title></helmet> and in this should work via Helmet inheritance but I wasn't able to get it to work.

I suspect it might be an issue with the child relationships between:

  • layout/index.js
  • layout/Header-<lang>.js
  • some MDX page

Since I think both the page and the headers are children of the layout index but I don't know how that Helmet will work with siblings like that.

@sh1mmer sh1mmer added the seo label Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant