v0.5.2
Breaking Changes
- the root page needs to be an
index.mdx
that contains the central, core content of your homepage. It should export the homepage template:
import HomepageTemplate from 'gatsby-theme-carbon/src/templates/Homepage';
export default HomepageTemplate;
## Content starts here
- In order to customize the homepage, you should shadow the homepage template. Check out the example in the examples directory. Note: you're the shadowed component lives in the
template
directory, as apposed to thecomponents
directory in your shadowed components folder. Check out this example from the starter:
https://github.com/carbon-design-system/gatsby-theme-carbon/blob/master/packages/example/src/gatsby-theme-carbon/templates/Homepage.js
Bug fixes:
- allow top level pages with tabs
- fix left nav active styles