Skip to content

Site with at least one article with draft: true in frontmatter doesn't build #2545

Answered by HiDeoo
gorohoroh asked this question in Q&A
Discussion options

You must be logged in to vote

Based on that idea, I just released a new plugin using that approach:

  • In development mode, sidebar links to draft pages are highlighted with a badge and an italicized label.
  • In production mode, sidebar links to draft pages are automatically removed.

A plugin approach makes it easy for users to opt-in to this new and totally different behavior, gather interest and mostly feedback on it (and maybe even on other behaviors, who knows) and iterate on it faster (and this also does not mean that depending feedback, we cannot decide to reevaluate the core implementation later on, more data is always good).

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@gorohoroh
Comment options

@HiDeoo
Comment options

@delucis
Comment options

@HiDeoo
Comment options

Answer selected by delucis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants