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