"Hugo New" button

I actually forgot about the “Hugo New” button from the discontinued Caddy Hugo plugin (which is still installed on my server), I was copying and pasting metadata from old files. This is nice because it creates a new e.g. blog post with the metadata pre-populated.

To be fair to me, there are problems with it. For instance, it doesn’t respect the directory you’re browsing, if you navigate into content/note/ and hit “Hugo New”, it creates the new file in “content”, which means it will never show up as a blog post since it’s in the wrong directory. So for the filename you have to write something like note/whatever.md which will put it in the right directory. That’s pretty counterintuitive!