tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
28
pulls
pipelines
set subpage quote hashid properly
awarm.space
4 months ago
3dc310a8
f73b2048
+1
-1
1 changed file
expand all
collapse all
unified
split
app
lish
[did]
[publication]
[rkey]
l-quote
[quote]
opengraph-image.ts
+1
-1
app/lish/[did]/[publication]/[rkey]/l-quote/[quote]/opengraph-image.ts
···
9
9
}) {
10
10
let quotePosition = decodeQuotePosition(props.params.quote);
11
11
return getMicroLinkOgImage(
12
12
-
`/lish/${decodeURIComponent(props.params.did)}/${decodeURIComponent(props.params.publication)}/${props.params.rkey}/l-quote/${props.params.quote}#${quotePosition?.start.block.join(".")}_${quotePosition?.start.offset}`,
12
12
+
`/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}`,
13
13
{
14
14
width: 620,
15
15
height: 324,