Switching to Hugo
The Issue
When I started this site, I was writing every article in HTML. I would manually write out every header and paragraph tag and carefully nest code tags in the necessary pre tags. This dramatically slowed the rate at which articles were created–in fact, it made me not want to write. In order to keep consistent with posting to the site, I needed a way to quickly write articles.
The Solution
Markdown is extremely easy to write and I was already very familiar with the syntax. I knew Markdown and HTML were sibling markup languages, and so I wanted a way to leverage Markdown to write my articles. Obviously I could paste my Markdown article into a converter online, but I wanted something automated; I wanted to write Markdown and have it converted to HTML before my very eyes. That is when I stumbled upon Hugo.
Hugo is a framework for building static sites that is written in Go. Running the hugo server --noHTTPCache
command will start the webserver and automatically convert the Markdown you write into HTML, updating in realtime. Not only that, but because Hugo is written in Go and makes use of Go templates, I was already familiar with the format and retained the speed of Go.