ihp icon indicating copy to clipboard operation
ihp copied to clipboard

Add getters for og: values

Open jeyj0 opened this issue 2 years ago • 0 comments

setOGImage and similar functions exist, and the meta tags themselves can be rendered using ogImage for example. But Twitter for example could use twitter:image, which can't easily be set to the same value as og:image. The context can be, but having a simple getOGImage and similar functions would make it a lot easier (and getting it from context is not trivial, as there's no documentation that that's where the info is stored).

jeyj0 avatar Jan 22 '22 09:01 jeyj0