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

Unlisted blog posts should not be display on the blog archive #9432

Closed
3 of 7 tasks
slorber opened this issue Oct 20, 2023 · 2 comments · Fixed by #9437
Closed
3 of 7 tasks

Unlisted blog posts should not be display on the blog archive #9432

slorber opened this issue Oct 20, 2023 · 2 comments · Fixed by #9437
Labels
bug An error in the Docusaurus core causing instability or issues with its execution
Milestone

Comments

@slorber
Copy link
Collaborator

slorber commented Oct 20, 2023

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • I have read the console error message carefully (if applicable).

Description

Unlisted blog posts should not appear on the blog archive page, because it makes them discoverable!

Missing implementation from original feature #8004

Reproducible demo

No response

Steps to reproduce

Unlisted post in production: https://docusaurus.io/tests/blog/unlisted-post

Shouldn't be displayed on this page https://docusaurus.io/tests/blog/archive

Expected behavior

Shouldn't be displayed on this page https://docusaurus.io/tests/blog/archive

CleanShot 2023-10-20 at 19 29 13@2x

Actual behavior

It is displayed on https://docusaurus.io/tests/blog/archive (but shouldn't)

Your environment

No response

Self-service

  • I'd be willing to fix this bug myself.
@slorber slorber added the bug An error in the Docusaurus core causing instability or issues with its execution label Oct 20, 2023
@slorber slorber added this to the 3.0 milestone Oct 20, 2023
@Muhammad-Tayyab-Bhutto
Copy link

@slorber kindly assign me this task. Thanks

@slorber
Copy link
Collaborator Author

slorber commented Oct 22, 2023

@Muhammad-Tayyab-Bhutto we don't assign issues. If you want to work on it, submit a draft PR in the next few days otherwise someone else will

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants