diff --git a/src/pages/categories/[category]/index.astro b/src/pages/categories/[category]/index.astro deleted file mode 100644 index 5f18ccc..0000000 --- a/src/pages/categories/[category]/index.astro +++ /dev/null @@ -1,58 +0,0 @@ ---- -import Button from '@/components/Button.astro' -import PageLayout from '@/layouts/BaseLayout.astro' -import { getAllPosts, getUniqueCategoriesWithCount } from '@/utils' - -const allPosts = await getAllPosts() -const allCategories = getUniqueCategoriesWithCount(allPosts) - -const meta = { - description: "A list of all the topics I've written about in my posts", - title: 'All Categories' -} ---- - - -
- - -

Categories

- {allCategories.length === 0 &&

No posts yet.

} - - { - allCategories.length > 0 && ( - - ) - } -
-