Hugo

I’ve been learning Hugo to make this site. It’s proving interesting, but not entirely intuative. As may be indicative by the 1:30am timestamp on this post.

I even made myself a little PowerShell script to create a new post with the file name set to the date. This may be the least impressive script on the internet but it does what I needed it to do, so I’m quite happy!


New Post Script

cd c:\users\Gareth\SquirrelTales
$date = Get-Date -UFormat "%d-%m-%Y"
$filename = "$date.md"
hugo new content "content/posts/$filename"
start ".\content\posts\$filename"

Previous: Electric Callboy: Revery Next: Bank Holiday