Closed TheTripleV closed 4 years ago
Will og:ignore_canonical allow the frc-docs to onebox on discourse?
Yes, it should. I haven't found it documented anywhere but it's in the Onebox source code.
I forgot to fully do typing when originally doing stuff, also probably worth having a config options for custom tags, not a default (not relevant for everyone using this)
Based on Discord discussion:
Ex.
ogp_custom_meta_tags = [
'<meta property="og:ignore_canonical" content="true" />',
]
Type hints
Type hints were only partially filled in. This completes them. This allows intellisense to work.
Custom tag support
Discourse's Onebox invented their own og tag, "og:ignore_canonical".