Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

draft: True not actually implemented #72

Open
eichin opened this issue Aug 20, 2024 · 0 comments
Open

draft: True not actually implemented #72

eichin opened this issue Aug 20, 2024 · 0 comments

Comments

@eichin
Copy link

eichin commented Aug 20, 2024

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant