mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix: update paste view count display in metadata
This commit is contained in:
@@ -296,7 +296,7 @@
|
|||||||
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'
|
||||||
}.`}
|
} with ${data.paste.views} view${data.paste.views !== 1 ? 's' : ''}.`}
|
||||||
/>
|
/>
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content={data.url} />
|
<meta property="og:url" content={data.url} />
|
||||||
|
|||||||
Reference in New Issue
Block a user