Commit efefab3
Changed files (3)
src
pages
archives
categories
[category]
tags
[tag]
posts
src/pages/archives/categories/[category]/[page].astro
@@ -36,7 +36,7 @@ const { category } = Astro.params;
const categories = await getCategories();
---
-<GridLayout>
+<GridLayout title={category}>
<CategoryBar categories={categories} currentCategory={category} />
<PostPage
posts={posts}
src/pages/posts/[article].astro
@@ -23,7 +23,7 @@ const { Content, headings } = await render(article);
const wordCount = countWords(article.body || '');
---
-<GridLayout>
+<GridLayout title={article.data.title} description={article.data.description}>
<Fragment slot="header-content">
<PostInfo
title={article.data.title}