From the archive — written 3 years ago. About old posts.
Very quick little Hugo posting script that lets you set title, tags and category, then makes a slugified file name and opens the file (using macOS open not your shell editor).
https://paste.lol/mph/hpost.rb
It does not check for the file already existing yet, so don’t name something the same thing on the same day: It will clobber your existing file.