fix(v2): keywords frontmatter should work properly (#1840)

* fix(v2): keywords frontmatter should work properly

* nits

* nits again
This commit is contained in:
Endi 2019-10-15 10:57:08 +07:00 committed by GitHub
parent bdb129252c
commit c630e1aab9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 6 deletions

View file

@ -48,7 +48,7 @@ function Layout(props) {
<meta property="og:description" content={description} />
)}
{keywords && keywords.length && (
<meta property="keywords" content={keywords} />
<meta property="keywords" content={keywords.join(',')} />
)}
{metaImage && (
<meta