Install on Webflow
Social crawlers do not run JavaScript, so the URL must be in the page's settings, not added by a script.
Static pages. In each page's settings, set Open Graph Image URL to:
https://linkmag.net/v1/og/YOUR_SITE_ID?path=/your-page-pathCMS template pages. In the template page's settings, under Custom Code → Inside <head> tag, add the tag below and insert the item's Slug field in place of SLUG with Add Field. Explicit mode with the Name field also works and skips the page fetch.
<meta property="og:image" content="https://linkmag.net/v1/og/YOUR_SITE_ID?path=/blog/SLUG">
<meta name="twitter:card" content="summary_large_image">Agents can request any page on this site as markdown by sending Accept: text/markdown.