Small, Fast, & Simple

February 5, 2015



Hugo has become my de facto static site generator. It’s written in Go, so it’s a single executable and recompiles very quickly. In development, Hugo automatically refreshes browser windows. Setting up a new project is easy (hugo new site such-and-such). Make sure to include a theme or a layout template, or you’ll get 404s. Hugo uses Markdown and Go’s HTML templating language, and abstracts HTML out of your content using shortcodes. Hugo compiles your static site to a single public directory, which can be pushed to GitHub Pages without all the source files using

git subtree push --prefix=public origin gh-pages