diff --git a/src/routes/(marketing)/blog/(posts)/+layout.svelte b/src/routes/(marketing)/blog/(posts)/+layout.svelte
index 0f51551d..4f84bc7b 100644
--- a/src/routes/(marketing)/blog/(posts)/+layout.svelte
+++ b/src/routes/(marketing)/blog/(posts)/+layout.svelte
@@ -2,6 +2,7 @@
import { page } from "$app/stores"
import { error } from "@sveltejs/kit"
import { sortedBlogPosts, type BlogPost } from "./../posts"
+ import { PUBLIC_SITE_NAME } from "$env/static/public"
let currentPost: BlogPost | null = null
for (const post of sortedBlogPosts) {
@@ -16,14 +17,30 @@
if (!currentPost) {
throw error(404, "Blog post not found")
}
+
+ const pageTitle = currentPost?.title ? currentPost.title : "Not Found"
+ const pageDescription = currentPost?.description ? currentPost.description : "Blog post"
+ const pageUrl = $page.url.origin + $page.url.pathname
- {currentPost?.title ? currentPost.title : "Not Found"}
-
+ {pageTitle}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+