Prefer opengraph image, fall back to Standard Site coverImage (#10694)

This commit is contained in:
Eric Bailey
2026-06-02 15:07:14 -05:00
committed by GitHub
parent 56496520d6
commit b87a51b485
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -246,6 +246,10 @@ async function resolveExternal(
title: result.title ?? '',
description: result.description ?? '',
thumb: result.image ? await imageToThumb(result.image) : undefined,
/*
* New fields from Standard Site integration. Other fields are derived from
* opengraph/oembed as before.
*/
associatedRefs: result.associatedRefs,
view: result.view,
}