Chronoblog / gatsby-theme-chronoblog

⏳ Chronoblog is a Gatsbyjs theme specifically designed to create a personal website. The main idea of ​​Chronoblog is to allow you not only to write a personal blog but also to keep a record of everything important that you have done.
https://chronoblog.now.sh
MIT License
130 stars 26 forks source link

Remove related posts from any post #61

Closed deepakness closed 3 years ago

deepakness commented 3 years ago

Is there any way I can remove the related posts that come under any specific post?

Right now, I am getting all the other previous posts under this post and that will not be good if I have a lot of notes.

Thank you.

ganevdev commented 3 years ago

At your site, here: src/gatsby-theme-chronoblog - most likely there are files with names like post-footer.mdx, site-footer.mdx , and site-header.mdx (like this: https://github.com/Chronoblog/gatsby-starter-chronoblog/tree/master/src/gatsby-theme-chronoblog)

There you need to create another file, and name it: content-bottom.mdx

Inside the file, fill it like this:

<hr />

Thus, you will replace the default value of this file, which looks like this: https://github.com/Chronoblog/gatsby-theme-chronoblog/blob/master/packages/gatsby-theme-chronoblog/src/content-bottom.mdx

deepakness commented 3 years ago

Yes, it works perfectly.

Thanks a lot, Ganevru.