-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
metatags are not being populated when I use custom _document #2890
Comments
https://github.com/zeit/next.js#custom-document You're missing this bit:
|
@timneutkens I was using the |
You literally need to add |
@timneutkens I see, thx a lot. |
I created a very simple
_document
element just to add thelang='en'
to thehtml
tagThe problem that I am facing is that the
<Head />
is not rendered on the server (if I disable the javascript I see an empty head tag), but it is correctly populated dynamically on the client. Am I missing something or this is a bug?The text was updated successfully, but these errors were encountered: