Skip to content

Conversation

@withqua
Copy link

@withqua withqua commented Jan 17, 2026

Type of change

  • Bug fix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other (please describe):

Checklist

  • I have read the CONTRIBUTING document.
  • I have checked to ensure that this Pull Request is not for personal changes.
  • I have performed a self-review of my own code.
  • My changes generate no new warnings. (Please see 'Additional Notes' for existing type errors)

Related Issue

N/A

Changes

I have added an 'Unlisted' post feature. Posts marked as unlisted: true are hidden from public listings but remain accessible via a direct URL.

Key exclusions:

  • 🏠 Home page list, 📂 Archive page, 🏷️ Tag & Category listings, 📡 RSS feed
  • 🔍 Search results (Handled via data-pagefind-ignore in [...slug].astro)

Documentation:

  • Updated READMEs in 7 languages (KO, EN, JA, ES, ID, TH, VI, ZH-CN).
  • Added Unlisted-Posts-Feature.md for detailed guidance.

How To Test

  1. Create a new post with unlisted: true in its frontmatter.
  2. Run the site and verify it does not appear on the Home, Archive, or Tag pages.
  3. Access the post directly via its URL to ensure it renders correctly.
  4. Use the search bar to confirm the unlisted post is not indexed by Pagefind.
  5. (Optional) Check the unlisted-sample.md included in this PR.

Screenshots (if applicable)

(If you have a screenshot of a post being hidden or the Pagefind ignore attribute in devtools, please drag and drop it here)

Additional Notes

  • pnpm check & format: Both commands were executed.
  • Note on existing errors: There are 2 pre-existing type errors in Navbar.astro and archive.astro. These are unrelated to my changes and were present in the base repository. My added logic functions as intended.
  • Translations: Multilingual README updates were refined using AI for more natural phrasing.

@vercel
Copy link

vercel bot commented Jan 17, 2026

Someone is attempting to deploy a commit to the zephyirdgmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

@withqua
Copy link
Author

withqua commented Jan 18, 2026

I noticed that unlisted posts are still appearing in search results. I'm working on a fix and will update the PR shortly.

@withqua
Copy link
Author

withqua commented Jan 18, 2026

oh .. wait error

@withqua
Copy link
Author

withqua commented Jan 18, 2026

I've improved the search exclusion logic. If a post is set to unlisted: true, it is now completely excluded from the Pagefind indexing process, ensuring it won't appear in any search results even as a blank entry.

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

Successfully merging this pull request may close these issues.

1 participant