mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
Enable setting of title for custom pages
* allowing custom title on page component * Update about-slash.js * Update help.js * Update users.js * Update versions.js
This commit is contained in:
parent
b3d59f8a0f
commit
72f4f36939
6 changed files with 20 additions and 2 deletions
|
@ -442,6 +442,7 @@ function execute(port) {
|
|||
<Site
|
||||
language={language}
|
||||
config={siteConfig}
|
||||
title={ReactComp.title}
|
||||
metadata={{id: path.basename(userFile, '.js')}}>
|
||||
<ReactComp language={language} />
|
||||
</Site>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue