Grunt publishing

By on

I wrote this Ruby command line app to give Jekyll a better publishing workflow. Then I switched over to Hugo and couldn’t post anything at work1 because installing Ruby on Windows was crazy hard for this old Linux guy2.

So I decided to go low-tech and use Grunt to manage my publishing workflow. Why not use Hugo’s built in archetypes? They don’t have all the special values that I want. For example, I use a 3 byte hex string for my post URLs. Hugo doesn’t have that.

So now I just run grunt do:post:"Post name" and I’m done. Cross platform, easy to maintain, and no extra dependencies. Check out the source for the do task in my Gruntfile on GitHub for more info.


  1. I like to post about stuff I learn while it’s fresh [return]
  2. Ironic isn’t it? [return]