Open Graph protocol also specifies the use of property and content attributes for markup (<meta property="og:image" content="http://example.com/ogp.jpg"/>) while Twitter cards use name and content. Twitter’s parser will fall back to using property and content, so there is no need to modify existing Open Graph protocol markup if it already exists.
for instance in base.njkL35-L43 these property attributes for twitter card metadata could be changed to name (unless they were explicitly defined with property attributes for a reason)
https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started
While Open graph meta tags use the
property
andcontent
attributes, the Twitter card docs state they usename
andcontent
. Should these Twitter card meta tags usename
instead ofproperty
? There might be a reason for keeping these twitter meta tags withproperty
attributes (https://stackoverflow.com/questions/22350105/whats-the-difference-between-meta-name-and-meta-property)for instance in
base.njk
L35-L43 theseproperty
attributes for twitter card metadata could be changed toname
(unless they were explicitly defined withproperty
attributes for a reason)cc @zachleat