Closed 17-09 closed 4 years ago
Create a flag that indicates hide/show ContentBottomMdx?
Hi!
If I understand correctly what you want to do, do this:
In src/gatsby-theme-chronoblog/
Create a file called content-bottom.mdx
Inside, fill it like this (this is how this file looks by default):
<hr />
<FeedSearch />
<Tags />
<FeedItems />
And ... now you can add and remove anything from here. You can leave it empty and then there will be nothing, or add or remove something.
Magic. The building process will take my custom content-bottom.mdx instead of gatsby-theme-chronoblog 's content-bottom.mdx, right?
Yes, this is called "Shadowing", you can read more about it here: https://www.gatsbyjs.org/docs/themes/shadowing
Let me try. Thank you very much <3