How toHide a Post from Site

Hide a Post from the Site

Control whether posts appear in your site’s content listing while remaining accessible via direct links. This is useful for pages like “About” that you want to link in the site header but not display in the main content feed.

To hide a post, add this frontmatter option:

===
hidden: true
===

New Post Notification Email

When a hidden post is created, it will be tagged as hidden in the new post notification email: New draft email

💡

Email notifications are sent when new posts are detected, so the hidden tag may not appear if the frontmatter option isn’t ready.

Search Engine Indexing

Hidden posts are indexable by search engines by default. If you want to disable indexing for a hidden post, add the index: false option to the post’s frontmatter.

===
hidden: true
index: false
===

FAQ

Q: Can I hide a post after it’s been published?

A: Yes, add the hidden option to any live post to hide it.

Q: Will I be notified when I create a hidden note?

A: Yes, you’ll receive an email notification for any new posts event if they are hidden.

Q: How do I make a hidden post visible again?

A: Remove the hidden option to make the post visible on the site.

Q: Is it similar to the draft tag?

A: Yes, you can hide a post by adding the draft tag, but there will be a draft display on the post page which you may not want.