style: format via prettier

This commit is contained in:
2026-04-18 19:09:13 -04:00
parent 60796a85fb
commit b962ed9f67
2 changed files with 16 additions and 4 deletions
+12 -3
View File
@@ -216,17 +216,26 @@
<svelte:head>
<title>Create a Paste - Sharpbin</title>
<meta name="description" content="Create and share code snippets, and text instantly with Sharpbin. Supports syntax highlighting, encryption, expiry, and more." />
<meta
name="description"
content="Create and share code snippets, and text instantly with Sharpbin. Supports syntax highlighting, encryption, expiry, and more."
/>
<meta name="robots" content="index, follow" />
<link rel="canonical" href={data.url} />
<meta property="og:title" content="Create a Paste - Sharpbin" />
<meta property="og:description" content="Create and share code snippets, and text instantly with Sharpbin. Supports syntax highlighting, encryption, expiry, and more." />
<meta
property="og:description"
content="Create and share code snippets, and text instantly with Sharpbin. Supports syntax highlighting, encryption, expiry, and more."
/>
<meta property="og:type" content="website" />
<meta property="og:url" content={data.url} />
<meta property="og:site_name" content="Sharpbin" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Create a Paste - Sharpbin" />
<meta name="twitter:description" content="Create and share code snippets, and text instantly with Sharpbin." />
<meta
name="twitter:description"
content="Create and share code snippets, and text instantly with Sharpbin."
/>
</svelte:head>
<main
@@ -513,7 +513,10 @@
extractDateFromUUIDv7(data.paste.uuid)?.toLocaleDateString() ?? 'Unknown Date'
} with ${data.paste.views} view${data.paste.views !== 1 ? 's' : ''}.`}
<meta name="description" content={pasteDescription} />
<meta name="robots" content={data.paste.visibility === 0 ? 'index, follow' : 'noindex, nofollow'} />
<meta
name="robots"
content={data.paste.visibility === 0 ? 'index, follow' : 'noindex, nofollow'}
/>
<link rel="canonical" href={data.url} />
{#if data.paste.author}
<meta name="author" content={data.paste.author.username} />