You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, all posts in the blog are public and visible in every listing (Home, Archive, RSS, etc.). However, there are cases where we want to share a post only with specific people via a direct URL, without displaying it on the main page or in search results.
To address this, I propose adding an 'Unlisted' visibility feature.
Key Features
Hide from Listings: If unlisted: true is set in the frontmatter, the post will be excluded from the Home page, Archive, Tags/Categories, and RSS feed.
Search Exclusion: Use data-pagefind-ignore to prevent the post from appearing in internal search results.
Direct Access: The post remains accessible if the user has the direct URL.
Multilingual Support: Documentation updated for all supported languages in READMEs.
Implementation
I have already completed the implementation and testing for this feature to show how it works. You can review the code and the detailed guide in the Pull Request below:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Background & Proposal
Currently, all posts in the blog are public and visible in every listing (Home, Archive, RSS, etc.). However, there are cases where we want to share a post only with specific people via a direct URL, without displaying it on the main page or in search results.
To address this, I propose adding an 'Unlisted' visibility feature.
Key Features
unlisted: trueis set in the frontmatter, the post will be excluded from the Home page, Archive, Tags/Categories, and RSS feed.data-pagefind-ignoreto prevent the post from appearing in internal search results.Implementation
I have already completed the implementation and testing for this feature to show how it works. You can review the code and the detailed guide in the Pull Request below:
PR Link: [https://github.com//pull/714]
I would love to hear your thoughts on this feature!
Beta Was this translation helpful? Give feedback.
All reactions