Skip to content

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

@slorber

Description

@slorber

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its execution

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions