Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to hide (or delete) "posts" link in navigation #24

Open
amedott opened this issue Oct 22, 2022 · 3 comments
Open

Be able to hide (or delete) "posts" link in navigation #24

amedott opened this issue Oct 22, 2022 · 3 comments

Comments

@amedott
Copy link

amedott commented Oct 22, 2022

I hope this isn't too unreasonable of a request.

I am currently using this template, but I don't intend to write posts on my site. However, any attempt to hide the link (by putting an underscore before index.md in /pages/posts/ directory) or straight up deleting the posts folder entirely would throw an error at me. The documentation for the blog theme seems very underdeveloped as well so I'm not sure if hiding the Posts link is something that can be worked on from the user side.

Thanks.

inb4 "You're using a blog theme for your site, therefore you should use it as a blog"

@brodyu
Copy link

brodyu commented Feb 18, 2023

You can uncomment the type: posts in /pages/posts/index.md. The same can be done in the photos.mdx page to remove the photos link.

@bogdanrakocevic
Copy link

bogdanrakocevic commented Nov 2, 2023

You can uncomment the type: posts in /pages/posts/index.md. The same can be done in the photos.mdx page to remove the photos link.

What did you mean by "uncomment"? It's already uncommented.
Btw, I lost hours today with this exact issue, and still haven't figured it out.

@JoshElgar
Copy link

Delete that line @bogdanrakocevic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants