diff --git a/packages/docusaurus-plugin-content-blog/src/blogUtils.ts b/packages/docusaurus-plugin-content-blog/src/blogUtils.ts index 15ce6a100af2..a38460575b56 100644 --- a/packages/docusaurus-plugin-content-blog/src/blogUtils.ts +++ b/packages/docusaurus-plugin-content-blog/src/blogUtils.ts @@ -301,7 +301,6 @@ async function processBlogSourceFile( const date = await getDate(); const title = frontMatter.title ?? contentTitle ?? parsedBlogFileName.text; - const title_meta = frontMatter.title_meta ?? frontMatter.title ?? contentTitle ?? parsedBlogFileName.text; const description = frontMatter.description ?? excerpt ?? ''; @@ -367,7 +366,6 @@ async function processBlogSourceFile( editUrl: getBlogEditUrl(), source: aliasedSource, title, - title_meta, description, date, tags, diff --git a/packages/docusaurus-plugin-content-blog/src/plugin-content-blog.d.ts b/packages/docusaurus-plugin-content-blog/src/plugin-content-blog.d.ts index ae87c060b563..1606aaa5f5e8 100644 --- a/packages/docusaurus-plugin-content-blog/src/plugin-content-blog.d.ts +++ b/packages/docusaurus-plugin-content-blog/src/plugin-content-blog.d.ts @@ -144,7 +144,7 @@ declare module '@docusaurus/plugin-content-blog' { */ title?: string; /** - * Will override the title collected from the frontMatter. + * Will be used for SEO page metadata and override BlogPostMetadata.title. * @see {@link BlogPostMetadata.title_meta} */ title_meta?: string; @@ -254,10 +254,6 @@ declare module '@docusaurus/plugin-content-blog' { * Used to generate the page h1 heading, tab title, and pagination title. */ readonly title: string; - /** - * Used to generate the