emacsorphanage / org-page

[INACTIVE] A static site generator based on Emacs and org mode.
673 stars 99 forks source link

Marking posts as drafts (not to be published) #179

Open Trevoke opened 8 years ago

Trevoke commented 8 years ago

Hi, how can I keep org-page from publishing some of my works in progress?

sillykelvin commented 8 years ago

Sorry, there is no built-in support of this, but you may use git stash to stash your drafts and use git stash pop later to resume the drafts.

Trevoke commented 8 years ago

I've started using a directory in the master branch called simply wip for this. It's not ideal, but I can commit the work and work from any computer.

How about a git branch called drafts or something similar?

sillykelvin commented 8 years ago

Creating a new branch might be too heavy for this, I think using a folder "drafts" in source branch might be enough, it's easier to achieve and understand.

Trevoke commented 8 years ago

I agree.

On Mon, Apr 4, 2016 at 11:00 PM Kelvin Hu notifications@github.com wrote:

Creating a new branch might be too heavy for this, I think using a folder "drafts" in source branch might be enough, it's easier to achieve and understand.

— You are receiving this because you authored the thread.

Reply to this email directly or view it on GitHub https://github.com/kelvinh/org-page/issues/179#issuecomment-205619930