gatsby-config.js
This is a file where You can configure few thing
-
Meta and OG tags
-
find
siteMetadata
-
fill with your data
- title
- description
- image
- url
- type
- siteName
siteMetadata: { title: 'Brainhub template', description: 'Default template for open-source libraries', image: 'https://cdn-images-1.medium.com/max/1200/1*CLUFZFaXF6NG27NA3d_JkQ.jpeg', url: 'https://screencloud.dev.brainhub.pl/', type: 'article', siteName: 'Brainhub template', }
DON'T REMOVE ANY FIELD FROM CONFIG, IF YOU DON'T WONT IT - LEAVE IT EMPTY
-
don't worry if your chrome extension is not showing preview, for react it is also not working
-
check later on open graph checker
-
-
Add github url
- find
siteMetadata
- edit
githubUrl
- find
-
You can change default path to all your markdown files. It's necessary to provide path to all markdowns and assets, to enable hot reloading.
- find
gatsby-source-filesystem
inplugins
- change
path
inoptions
Note that it's temporary solution. In future version this option will be removed.
- find
-
You can change default path for your
gatsby-docs-kit.yml
- find
gatsby-transformer-remark
inplugins
- find
gatsby-docs-kit
and change path inconfig
resolve: 'gatsby-transformer-remark', options: { plugins: [ { resolve: 'gatsby-docs-kit', options: { config: `${__dirname}/gatsby-docs-kit.yml`,
- find
-
Change default favicon path
- find
gatsby-plugin-catch-links
inplugins
- edit
logo
inoptions
'gatsby-plugin-catch-links', { resolve: `gatsby-plugin-favicon`, options: { logo: './src/static/favicon.png',
- find