mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 08:49:51 +02:00
fix(v2): fix reading front matter keywords and image fields (#2165)
This commit is contained in:
parent
ca30adc19d
commit
428e087eb7
2 changed files with 3 additions and 3 deletions
|
@ -58,15 +58,15 @@ function DocItem(props) {
|
|||
description,
|
||||
title,
|
||||
permalink,
|
||||
image: metaImage,
|
||||
editUrl,
|
||||
lastUpdatedAt,
|
||||
lastUpdatedBy,
|
||||
keywords,
|
||||
version,
|
||||
} = metadata;
|
||||
const {
|
||||
frontMatter: {
|
||||
image: metaImage,
|
||||
keywords,
|
||||
hide_title: hideTitle,
|
||||
hide_table_of_contents: hideTableOfContents,
|
||||
},
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
id: search
|
||||
title: Search
|
||||
keywords:
|
||||
- docusaurus
|
||||
- algolia
|
||||
- search
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue