New Post Function for Bash

On of the things I don’t like about using a static site generator is the friction required for creating a new post. I’ve often end up posting things to Twitter that I would prefer to be more permanent simply because of the ease of tweeting.

To that end, I created a quick Bash function to create a new post for me. Creating this post in my Pelican directory only requires typing

$ new-post "New Post Function for Bash"

Combined with Greg Reda’s Travis CI trick, the friction in getting a new post online is greatly reduced.