Alright, so, whenever I try to write up a blog post Jekyll wants me to do a lot of redundant and painful stuff. To create a blog post, you’ll have to do the following:
- Create a filename called 2010-10-01-helper-script-to-create-new-posts-using-jekyll.markdown which has a timestamp, hyphens and a title which is kind of a pain to type.
- And once you have this file you’ll have to put up some yaml front matter: the title, and the layout is the minimum, Here you are typing the title again.
It’s not a big deal, but it’s still annoying. So, I came up with a small ruby script called new.rb, which basically automates this stuff.