Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 24bb600

Browse files
authored
feat(gatsby-theme-docz): configure SEO information from md/mdx files (#1477)
1 parent 779c07f commit 24bb600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/gatsby-theme-docz/src/base/Layout.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const Layout = ({ children, ...defaultProps }) => {
5050
const isTransclusion = includesTransclusion(db, defaultProps)
5151
return (
5252
<Fragment>
53-
{entry && <SEO title={entry.value.name} />}
53+
{entry && <SEO title={entry.value.name} {...entry.value} />}
5454
<Theme db={db} currentEntry={entry}>
5555
<Route {...defaultProps} entry={entry} isTransclusion={isTransclusion}>
5656
{children}

0 commit comments

Comments
 (0)