From 3dc310a83ca1128635d606424152e02a3a0c56d9 Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Tue, 21 Oct 2025 13:54:10 -0400 Subject: [PATCH] set subpage quote hashid properly --- .../[publication]/[rkey]/l-quote/[quote]/opengraph-image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lish/[did]/[publication]/[rkey]/l-quote/[quote]/opengraph-image.ts b/app/lish/[did]/[publication]/[rkey]/l-quote/[quote]/opengraph-image.ts index f73ddab8..105406cd 100644 --- a/app/lish/[did]/[publication]/[rkey]/l-quote/[quote]/opengraph-image.ts +++ b/app/lish/[did]/[publication]/[rkey]/l-quote/[quote]/opengraph-image.ts @@ -9,7 +9,7 @@ export default async function OpenGraphImage(props: { }) { let quotePosition = decodeQuotePosition(props.params.quote); return getMicroLinkOgImage( - `/lish/${decodeURIComponent(props.params.did)}/${decodeURIComponent(props.params.publication)}/${props.params.rkey}/l-quote/${props.params.quote}#${quotePosition?.start.block.join(".")}_${quotePosition?.start.offset}`, + `/lish/${decodeURIComponent(props.params.did)}/${decodeURIComponent(props.params.publication)}/${props.params.rkey}/l-quote/${props.params.quote}#${quotePosition?.pageId ? `${quotePosition.pageId}~` : ""}${quotePosition?.start.block.join(".")}_${quotePosition?.start.offset}`, { width: 620, height: 324, -- 2.51.2