Creating a Template for New Posts
Because a DevOps guy needs to automate stuff
Prerequisites have a blog with hugo Introduction So I spent a good couple of hours fighting with hugo and regex, because I didn’t like the fact that I had to manually enter the date each time in new posts. Furthermore I discovered that by only stating the date: year-month-day in the header. It can occur when uploading multiple posts on the same day, chronologically the listing becomes incorrect.
So to save ( hopefully at least millions of people ;) ) some time.
[Read More]