Is there a way to avoid setting a filename (and in turn, a title) when using hugo new? I want to create a content type like a tweet, but don’t want to have to give each a title. I would rather just use a hash of the timestamp like Twitter does: https://twitter.com/spf13/status/755388516939468801
You could just create an alias or a script that does something like
hugo new mini/`date +"My blog %F %T" | md5`.md
Assuming that mini
is the section you want the post to belong to. The substring "My blog " is just for flavour
1 Like
Thanks! That is way easier than what I was trying to do and works just as well.