mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-12 08:37:25 +02:00
Enable custom meta description for custom pages (#752)
This commit is contained in:
parent
18c01327a3
commit
c47af6be4b
4 changed files with 32 additions and 0 deletions
|
@ -509,6 +509,7 @@ async function execute() {
|
|||
language={language}
|
||||
config={siteConfig}
|
||||
title={ReactComp.title}
|
||||
description={ReactComp.description}
|
||||
metadata={{id: pageID}}>
|
||||
<ReactComp language={language} />
|
||||
</Site>
|
||||
|
@ -528,6 +529,7 @@ async function execute() {
|
|||
title={ReactComp.title}
|
||||
language={language}
|
||||
config={siteConfig}
|
||||
description={ReactComp.description}
|
||||
metadata={{id: pageID}}>
|
||||
<ReactComp language={language} />
|
||||
</Site>
|
||||
|
@ -545,6 +547,7 @@ async function execute() {
|
|||
title={ReactComp.title}
|
||||
language={language}
|
||||
config={siteConfig}
|
||||
description={ReactComp.description}
|
||||
metadata={{id: pageID}}>
|
||||
<ReactComp language={language} />
|
||||
</Site>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue