I had time during the new year holiday in Japan(年末年始), so I went online looking for a web framework to develop web applications in golang
. I accidently lended on the hugo site and discovered this awesome tool. The concept is very simple: you can easily generate a static website in a few minutes. This was quite different from what I was looking for, but it looked interesting and I decided to give it a try. hugo
is suitable for blogging or creating simple websites, and I loved the workflow: to give you an overviiew, here is how I add a new post.
# Create the post
$ hugo new post/my_post
# Edit it
$ code content/post/my_post
# Verify
$ hugo server
# Build
$ hugo
# Commit and push
$ cd public
$ git add --all
$ git commit -am "my_post"
$ git push