mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
chore: include syntax type in Open Graph description for pastes
This commit is contained in:
@@ -429,7 +429,7 @@
|
|||||||
<meta property="og:title" content={data.paste.title || 'Untitled Paste'} />
|
<meta property="og:title" content={data.paste.title || 'Untitled Paste'} />
|
||||||
<meta
|
<meta
|
||||||
property="og:description"
|
property="og:description"
|
||||||
content={`A paste on Sharpbin created by ${
|
content={`A ${data.paste.syntax} paste on Sharpbin created by ${
|
||||||
data.paste.author ? data.paste.author.username : 'Anonymous'
|
data.paste.author ? data.paste.author.username : 'Anonymous'
|
||||||
}, created on ${
|
}, created on ${
|
||||||
extractDateFromUUIDv7(data.paste.uuid)?.toLocaleDateString() ?? 'Unknown Date'
|
extractDateFromUUIDv7(data.paste.uuid)?.toLocaleDateString() ?? 'Unknown Date'
|
||||||
|
|||||||
Reference in New Issue
Block a user