feat: pass loaded siteConfig as props for React component

This commit is contained in:
endiliey 2018-09-14 23:49:03 +08:00
parent c0194a1f53
commit 11b0d15238
5 changed files with 21 additions and 10 deletions

View file

@ -118,7 +118,7 @@ module.exports = async function processMetadata(
}
/* Build the permalink */
const {baseUrl, docsUrl = 'docs'} = siteConfig;
const {baseUrl, docsUrl} = siteConfig;
/*
if user has own custom permalink defined in frontmatter