initial commit

This commit is contained in:
Hunter
2026-11-01 13:23:44 -05:00
commit e03ea4f770
53 changed files with 10802 additions and 0 deletions

19
app/categories/page.tsx Normal file
View File

@@ -0,0 +1,19 @@
import TaxonomyTable from "@/components/TaxonomyTable";
import { categoryCounts, readPosts } from "@/lib/store";
export const dynamic = "force-dynamic";
export default async function CategoriesPage() {
const { posts, revision } = await readPosts();
return (
<main>
<h1>Categories</h1>
<p className="muted">
Each post has exactly one category. Categories come from the posts themselves: create one by
typing it into a post&apos;s category field, and it disappears once no post uses it. Rename to an
existing category to merge the two.
</p>
<TaxonomyTable kind="category" items={categoryCounts(posts)} revision={revision} />
</main>
);
}