diff --git a/packages/docusaurus-plugin-content-docs/src/plugin-content-docs.d.ts b/packages/docusaurus-plugin-content-docs/src/plugin-content-docs.d.ts index a8d49f21ceff..cc4b1314f67f 100644 --- a/packages/docusaurus-plugin-content-docs/src/plugin-content-docs.d.ts +++ b/packages/docusaurus-plugin-content-docs/src/plugin-content-docs.d.ts @@ -132,7 +132,6 @@ declare module '@theme/Seo' { readonly description?: string; readonly keywords?: readonly string[] | string; readonly image?: string; - readonly children?: ReactNode; }; const Seo: (props: Props) => JSX.Element; diff --git a/packages/docusaurus-theme-classic/src/theme/BlogPostItem/index.tsx b/packages/docusaurus-theme-classic/src/theme/BlogPostItem/index.tsx index c4440efdc568..325b559c4600 100644 --- a/packages/docusaurus-theme-classic/src/theme/BlogPostItem/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/BlogPostItem/index.tsx @@ -129,18 +129,7 @@ function BlogPostItem(props: Props): JSX.Element { return ( <> - {isBlogPostPage ? ( - - - - {authorURL && } - {frontMatter.tags && ( - - )} - - ) : ( - - )} +
+ + + + {authorURL && } + {frontMatter.tags && ( + + )} + } {pageImage && } - {children} ); }