next.js
7af9c439 - Fix metadata nested twitter props rendering (#47972)

Commit
2 years ago
Fix metadata nested twitter props rendering (#47972) For twitter and og image nested properties we should render them as snake case according to [og spec](https://ogp.me/) and [twitter card docs](https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started). For typing we keep them as camel case and then convert them to snake case during render This issue is reported in #47960 that user thinks the types are incorrect, but turns out twitter metadata didn't render it correctly Closes #47960
Author
Parents
Loading