From edffd5490fae8274293982ded81c7971b614fd28 Mon Sep 17 00:00:00 2001 From: whoswhip Date: Sat, 18 Apr 2026 18:41:23 -0400 Subject: [PATCH] feat: enhance SEO for home, recent, and paste pages --- SharpbinV3.Client/src/routes/+page.svelte | 8 ++++++- .../src/routes/[id]/+page.svelte | 24 ++++++++++++------- .../src/routes/recent/+page.svelte | 10 ++++++++ 3 files changed, 33 insertions(+), 9 deletions(-) diff --git a/SharpbinV3.Client/src/routes/+page.svelte b/SharpbinV3.Client/src/routes/+page.svelte index 85fde63..7cc26d0 100644 --- a/SharpbinV3.Client/src/routes/+page.svelte +++ b/SharpbinV3.Client/src/routes/+page.svelte @@ -216,11 +216,17 @@ Create a Paste - Sharpbin + + + - + + + +
{#if data.paste} + {@const pasteDescription = `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' + } with ${data.paste.views} view${data.paste.views !== 1 ? 's' : ''}.`} + + + + {#if data.paste.author} + + {/if} - + @@ -526,7 +530,11 @@ + {:else} + {/if} + + Recent Pastes - Sharpbin + + + + + + + + + +