fix(v2): fix reading front matter keywords and image fields (#2165)

This commit is contained in:
Yangshun Tay 2019-12-31 21:42:47 +08:00 committed by GitHub
parent ca30adc19d
commit 428e087eb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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,
},

View file

@ -2,7 +2,7 @@
id: search
title: Search
keywords:
- docusaurus
- algolia
- search
---