user-avatar

Kyle J. Roux

jstacoder

Developer Program Member

a python/javascript/php/linux guru ready to take on the world...

CasePeer
orange, CA, USA
https://jstacoder.github.io

Hi
Home

Jstacoders Profile
06 24 2019 dark mode hook2019 06 09 graphql and gatsby2019 06 13 graphql schema definition 101About linkAdd Blog
Blog
Commit blockCommit block list
Components
General
GridGrid2Header linksHeader logoHomeIndexMy ProfileSidebarTable notesselect-dropbox-root-foldersodebrrr

Overriding MDX layout in frontmatter

I really like using docz, and since they have integrated with Gatbsy and Theme-UI i like it even more.

One thing i like is how you can completley override the way it does things, or you can just shadow individual components, to only override what you want.

But one thing i dont like is that by default when you override the Layout component it takes over every docz page,

But what if i only want to overide the layout on certain pages?

Heres how to do it:

    Home