Skip to content

Use a pages first image for OpenGraph Preview if there is one - #1120

Open
TimMonko wants to merge 1 commit into
napari:mainfrom
TimMonko:ogp-first-image
Open

Use a pages first image for OpenGraph Preview if there is one#1120
TimMonko wants to merge 1 commit into
napari:mainfrom
TimMonko:ogp-first-image

Conversation

@TimMonko

Copy link
Copy Markdown
Member

Description

This should use the first image on the page that isn't an svg or .ico
It doesn't filter for size or anything so maybe has weird edge cases
cc @jni

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 21, 2026

@jni jni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's worth trying. We can always revert if things are worse than the generic image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants