mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-24 06:27:02 +02:00
feat(content-blog): include front matter in loaded content metadata (#6189)
* feat(content-blog): include front matter in metadata * fixes
This commit is contained in:
parent
e1bff072fe
commit
2cc89e502f
4 changed files with 32 additions and 0 deletions
|
@ -43,6 +43,7 @@ declare module '@theme/BlogPostPage' {
|
|||
readonly nextItem?: {readonly title: string; readonly permalink: string};
|
||||
readonly prevItem?: {readonly title: string; readonly permalink: string};
|
||||
readonly authors: import('./types').Author[];
|
||||
readonly frontMatter: FrontMatter & Record<string, unknown>;
|
||||
readonly tags: readonly {
|
||||
readonly label: string;
|
||||
readonly permalink: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue