Tom
> --
> You received this message because you are subscribed to the Google Groups "jekyll.rb" group.
> To post to this group, send email to jeky...@googlegroups.com.
> To unsubscribe from this group, send email to jekyll-rb+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jekyll-rb?hl=en.
>
>
--
Tom Preston-Werner
github.com/mojombo
This works good -- thanks for the heads-up. The only "bad" part is
that I'll have published : true when working on the draft, to preview
it. When I'm done working on the draft for the day, I will change
published back to false. It's a bit off the exact path, but it will
definitely work -- thanks again!
Also, I think that my need for seeing "previews" of my blog will
diminish once I iron out the styling and post more articles.
Thanks,
--Nate
> I just started blogging using Jekyll, and was wondering how other
> people implement drafts?
I wrote an Emacs mode to create my Jekyll blog posts.
https://github.com/nibrahim/Hyde
It doesn't support proper previews (yet). It does have direct markdown
previews though (no liquid tags etc.) so you can alteast check your
markup. It integrates with git so adding, committing are done by the
backend when posts transition from draft to published to deployed.
I recently added drafts support. It's a little unpolished but I use it
with my blog. Basically, new posts are put into the _drafts directory
unless you explicity "promote" them.
If you're an Emacs user, it *might* help you.
[...]
--
It's more useful than storing a post in a different directory, because I only
need to change published : true to see the post during development, then
set it to published : false if I have to postpone publishing. This works for
me, because when I want to publish, I run jekyll --pygments, then rsync the
_site directory to my public directory on my server.
It's better than putting the post in a different directory, because I
can at least
see the preview without having to juggle the file between the _posts
directory and some
_drafts directory /and/ set published:false/true. I only need to
change published:false,
and when I publish I don't have to worry about using "git mv
_drafts/2011-01-01_foo.md _posts/2011-01-01_foo.md"
--Nate
> To unsubscribe from this group, send email to jekyll-rb+...@googlegroups.com.