Manage Jekyll From Emacs
January 2, 2009
I recently switched this blog over to Jekyll. Jekyll is a static blog generator that can be used to manage a blog from source control instead of from a silly Web app. In my case, this blog lives in Git and whenever I push new commits it regenerates the site.
Today I spent a little time automating some common actions in
Emacs for working with Jekyll
blogs. You can find jekyll.el
in my Jekyll branch on
GitHub.
Here’s what it does:
C-c b n
- Create a new draft post.C-c b P
- Publish a draft.C-c b d
- List all drafts.C-c b p
- List all posts.
I’m quite happy with it, and it has been fun exploring Emacs Lisp.