Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
fix(blog): authors index lists only authors with a published post
Salman Qureshi676f94db11ea
diff --git a/website/src/theme/Blog/Pages/BlogAuthorsListPage/index.tsx b/website/src/theme/Blog/Pages/BlogAuthorsListPage/index.tsxnew file mode 100644index 00000000..e5faca49--- /dev/null+++ b/website/src/theme/Blog/Pages/BlogAuthorsListPage/index.tsx@@ -0,0 +1,14 @@+import React from 'react';+import BlogAuthorsListPage from '@theme-original/Blog/Pages/BlogAuthorsListPage';+import type { Props } from '@theme/Blog/Pages/BlogAuthorsListPage';++/**+ * List only authors with at least one published post. Docusaurus lists every+ * author with `page: true`, but only creates pages for authors who have+ * published posts, so an author whose first post is still a draft became a+ * broken link that failed the production build. They appear here as soon as+ * a post of theirs is published.+ */+export default function BlogAuthorsListPageWrapper(props: Props): React.ReactElement {+ return <BlogAuthorsListPage {...props} authors={props.authors.filter((a) => a.count > 0)} />;+}