Enable custom meta description for custom pages (#752)

This commit is contained in:
Endilie Yacop Sucipto 2018-06-11 00:35:30 +08:00 committed by Joel Marcey
parent 18c01327a3
commit c47af6be4b
4 changed files with 32 additions and 0 deletions

View file

@ -449,6 +449,7 @@ function execute(port) {
language={language}
config={siteConfig}
title={ReactComp.title}
description={ReactComp.description}
metadata={{id: path.basename(userFile, '.js')}}>
<ReactComp language={language} />
</Site>