Skip to content

Commit

Permalink
feat(gatsby-theme-docz): configure SEO information from md/mdx files (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
shkoliar authored May 5, 2020
1 parent 779c07f commit 24bb600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/gatsby-theme-docz/src/base/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Layout = ({ children, ...defaultProps }) => {
const isTransclusion = includesTransclusion(db, defaultProps)
return (
<Fragment>
{entry && <SEO title={entry.value.name} />}
{entry && <SEO title={entry.value.name} {...entry.value} />}
<Theme db={db} currentEntry={entry}>
<Route {...defaultProps} entry={entry} isTransclusion={isTransclusion}>
{children}
Expand Down

0 comments on commit 24bb600

Please sign in to comment.