diff --git a/src/pages/category/[category]/[page].astro b/src/pages/category/[category]/[page].astro
index 996a057..4758446 100644
--- a/src/pages/category/[category]/[page].astro
+++ b/src/pages/category/[category]/[page].astro
@@ -9,9 +9,11 @@ import Post from "@/components/Post.astro";
export async function getStaticPaths({ paginate }: { paginate: any }) {
const blogEntries = await getCollection("blog");
- const filteredPosts = blogEntries.filter((post) => post.data.category);
return CATEGORIES.flatMap((category) => {
+ const filteredPosts = blogEntries.filter(
+ (post) => post.data.category == category
+ );
return paginate(filteredPosts, {
params: { category },
pageSize: 3,
@@ -36,39 +38,45 @@ const pages = Array.from({ length: page.lastPage }, (_, i) => i + 1);
.map((p) =>
- Henüz bu kategoride bir yazı yazılmadı. Yazarımızın ilhama veya + Henüz bu kategoride bir yazı yayınlanmadı. Yazarımızın ilhama veya teşviğe ihtiyacı olabilir!
) } -Henüz yorum yok!