feat(blog): Add frontMatter.sidebar_label (#10729)

This commit is contained in:
Sébastien Lorber 2024-11-29 18:05:09 +01:00 committed by GitHub
parent df6f53a2f5
commit a995865314
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 34 additions and 6 deletions

View file

@ -145,7 +145,6 @@ declare module '@docusaurus/plugin-content-blog' {
title?: string;
/**
* Will be used for SEO page metadata and override BlogPostMetadata.title.
* @see {@link BlogPostMetadata.title_meta}
*/
title_meta?: string;
/**
@ -153,6 +152,10 @@ declare module '@docusaurus/plugin-content-blog' {
* @see {@link BlogPostMetadata.description}
*/
description?: string;
/**
* Will override the default excerpt.
*/
sidebar_label?: string;
/**
* Front matter tags, unnormalized.
* @see {@link BlogPostMetadata.tags}