Closed maxcountryman closed 1 year ago
If it were me, I would remove this altogether and leave it up to the user to decide how they want to configure their site.
Are you so sure about that? 😜
Just kidding, really. Having an option to disable it is a fair point, I'll try to put a toggle in with the next version.
That would be great, indeed.
Either have a config option to disable that or warn once. I do want my title
and og:title
to be the same.
@raulfdm Sorry for the delay, but this has now landed in 0.7.2
You can pass surpressWarnings={true}
and it should hide the warnings!
Thanks @jonasmerlin . Worked like a charm
Specifically, this line.
It's quite opinionated to suggest the OG title should not be the same as the page title: it entirely depends on the page and application. (I understand the point that the linked Tweet is making but it's not relevant to my use case, which uses the heading as the page title and therefore both title and OG title are the same value.)
If it were me, I would remove this altogether and leave it up to the user to decide how they want to configure their site.