Skip to content

Commit 8134f26

Browse files
1046prtrecursivezero
authored andcommitted
[RZA-250154]: Fix the meta issue
1 parent 7f10d8f commit 8134f26

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/pages/blog/[slug].astro

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,14 @@ const { Content } = await render(entry);
3434
if (!Content) {
3535
throw new Error(`Content could not be rendered for blog`);
3636
}
37+
38+
const meta = {
39+
title: "Stories",
40+
description: validatedData.description
41+
};
3742
---
3843

39-
<BaseLayout meta={{ title: "Stories", description: validatedData.description }}>
44+
<BaseLayout meta={meta}>
4045
<Back />
4146
<article class="container__blog">
4247
<header class="blog-post-header">

0 commit comments

Comments
 (0)