March 11, 2026

Dynamic OG images Beta

Fern can now automatically generate unique Open Graph images for each page of your docs site. Set og:dynamic to true in your docs.yml metadata to enable it. Pages with an og:image set in frontmatter will use the specified image instead.

You can also use og:background-image to set a custom background image for your dynamically generated OG image, instead of a solid color.

docs.yml
1metadata:
2 og:dynamic: true
3 og:background-image: ./images/og-background.png # optional
Read the docs