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> <svelte:head>
<title>Create a Paste - Sharpbin</title> <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" /> <meta name="robots" content="index, follow" />
<link rel="canonical" href={data.url} /> <link rel="canonical" href={data.url} />
<meta property="og:title" content="Create a Paste - Sharpbin" /> <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:type" content="website" />
<meta property="og:url" content={data.url} /> <meta property="og:url" content={data.url} />
<meta property="og:site_name" content="Sharpbin" /> <meta property="og:site_name" content="Sharpbin" />
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Create a Paste - Sharpbin" /> <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> </svelte:head>
<main <main
@@ -513,7 +513,10 @@
extractDateFromUUIDv7(data.paste.uuid)?.toLocaleDateString() ?? 'Unknown Date' extractDateFromUUIDv7(data.paste.uuid)?.toLocaleDateString() ?? 'Unknown Date'
} with ${data.paste.views} view${data.paste.views !== 1 ? 's' : ''}.`} } with ${data.paste.views} view${data.paste.views !== 1 ? 's' : ''}.`}
<meta name="description" content={pasteDescription} /> <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} /> <link rel="canonical" href={data.url} />
{#if data.paste.author} {#if data.paste.author}
<meta name="author" content={data.paste.author.username} /> <meta name="author" content={data.paste.author.username} />