Skip to content

Missing draft functionality for blog posts #14

@embeddedk8

Description

@embeddedk8

Type: feature request

Missing draft functionality for blog posts

The blog template does not provide built-in support for drafts.
Posts marked with draft: true in frontmatter are still generated during astro build and included in the production output.

This makes it difficult to work on unfinished posts.

Expected behavior:
Posts marked as drafts should be excluded from the production build.

Providing draft handling by default (or documenting the required setup) would improve usability and prevent accidental publication.

Implementation proposal
Possible implementation is documented here:
https://jacurtis.com/notes/astro-draft-posts/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions