I'm wondering how I can reuse the title
and description
metadata for Twitter cards title and description, respectively. Docusaurus uses these values to populate og:title
and og:description
already so perhaps there is a way to pass these values as argument for Twitter cards generation.
Asked
Active
Viewed 71 times
-1

Wicu
- 1
- 1
1 Answers
1
If the og:
tags are present, Twitter cards will use them. You will need a twitter:card
tag to specify the card type, though - the rest can be og:
tags equivalent to the Twitter Cards markup.

Andy Piper
- 11,422
- 2
- 26
- 49