Skip to content

Draft posts #3869

@StyXman

Description

@StyXman

Requested Feature: (short description)

When creating a new post with `nikola new_post, either mark it as draft, or allow do be marked as draft.

Do you want to contribute this yourself as a pull request? (don’t worry about it if you don’t want to/can’t — someone else can take care of it)

  • Yes, I have already written code for it (link if available and feasible)
  • Yes, I don’t have code ready yet (that’s okay!)
  • No (that’s okay too!)

Does this feature affect backwards compatibility? If yes, in what way?

Only if it's the default.

Rationale and full description: (why should it be added to Nikola?)

I always have several things I want to write about running around in my head and as post files. Many are left in this state because I don't always get a combination of free time, energy and focus on a given subject.

But by default Nikola sets posts as public, and I end up publishing unfinished drafts, like in https://www.grulic.org.ar/~mdione/glob/posts/replacing-an-orm-with-sqlite-and-dataclasses/

So my workflow is, create the new post, write on top of the .md file whatever I had already written in my editor, and then opening the .meta file to add line saying it's a draft. Which I not always remember to do )see above).

The addition would either set the post as draft by default; and/or would add an option to new_post to mark it as draft/final.

I am willing to code the thing myself, just don't ho9ld your breath on it.

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