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:
Endilie Yacop Sucipto 2018-05-31 12:37:38 +08:00 committed by Yangshun Tay
parent b3d59f8a0f
commit 72f4f36939
6 changed files with 20 additions and 2 deletions

View file

@ -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>