From 68ae0281baa2f4f314ba4fc98656b299a06564ab Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Fri, 17 Jan 2025 17:48:20 +0100 Subject: [PATCH] update blog post --- src/routes/blog/article/[slug]/+page.svelte | 25 ++++++++++++--------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/routes/blog/article/[slug]/+page.svelte b/src/routes/blog/article/[slug]/+page.svelte index 628cccd9..88c05bcb 100644 --- a/src/routes/blog/article/[slug]/+page.svelte +++ b/src/routes/blog/article/[slug]/+page.svelte @@ -43,18 +43,21 @@
-
+

{article?.title}

- Published {new Date(article?.created)?.toLocaleString("en-US", { - month: "short", - day: "numeric", - year: "numeric", - daySuffix: "2-digit", - })} + Last Updated: {new Date(article?.updated)?.toLocaleString( + "en-US", + { + month: "short", + day: "numeric", + year: "numeric", + daySuffix: "2-digit", + }, + )}
@@ -72,10 +75,10 @@ > {#if !data?.user}
-

+

Stay informed in just 2 minutes

@@ -95,7 +98,7 @@ {/if}