Skip to content

Add a draft mode #2060

@pbowyer

Description

@pbowyer

Is your feature request related to a problem? Please describe.
Say I've got 10-15 drafts. I want them rendered locally but I don't want the file to exist in production

Describe the solution you'd like
I'd like a built-in draft mode.

Describe alternatives you've considered
I've added a setting to the front matter to exclude the files from my sitemap.xml and I comment them out of the navigation - but the draft is still generated as a page in the output directory

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions