I want to be able to have a 'master' HEAD
element in _document.js
and for certain pages have an additional HEAD
element that adds to what is in the 'master'. From https://nextjs.org/docs/api-reference/next/head it would seem that this is possible.
However, when searching for the answer in Stack Overflow, I found this post, which seems to indicate that this can lead to unexpected results.
If I can't have multiple HEAD
elements, do I need to pass data from the individual page through getInitialProps
?