Skip to content

draft: True not actually implemented #72

Description

@eichin

doc/reference/fields/draft.md describes an explicit draft flag, as an addition to the "date in the future" aspect. I find this a lot more clear than "magic future date", especially in terms of actually having an "ok I'm really done" commit point. Unfortunately, it's not actually implemented; create_source_page_as_file has a # Skip draft pages section, which only checks the date and the --draft flag, but nothing else. (Also, I accidentally published a page because I only had draft: True in the top-of-page YAML block, but adding date: 2038-01-01T00:00:00 and rebuilding unpublished it.)

(Consider this the tiniest of votes for actually adding the feature, but I completely understand just dropping it from the docs since there is a working mechanism.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions