jekyll / jekyll-compose

:memo: Streamline your writing in Jekyll with these commands.
http://rubygems.org/gems/jekyll-compose
MIT License
696 stars 79 forks source link

Add unpublish command #21

Closed nmenag closed 9 years ago

nmenag commented 9 years ago

would be good implement the command unpublish for the posts, for a post and convert it into a draft.

parkr commented 9 years ago

There is also a "published" flag... I am not sure what most Jekyll users would prefer. drafts, or the published yaml front matter flag?

courajs commented 9 years ago

I think moving back to drafts makes more sense. Makes it the proper inverse of the publish command. There could be a retract command or something similar if anyone wants that, but that is very easy to do manually. I see jekyll compose mostly as a tool for avoiding typing dates in the filenames, or having to type _awkward _underscore _dirs.

parkr commented 9 years ago

:cool: :+1:

nmenag commented 9 years ago

equal to Octopress:

New draft https://github.com/octopress/octopress#new-draft Publish draft https://github.com/octopress/octopress#publish-a-draft And unpublish post https://github.com/octopress/octopress#unpublish-a-post

courajs commented 9 years ago

That's probably a pretty good thing? This is supposed to be lighter-weight, and doesn't add any artifacts to your project.

courajs commented 9 years ago

Added by #26