After following a couple half out of date guides on the internet, I’ve finally been able to create a little green padlock next to my URL in Chrome. Cloudflare provides a free shared certificate that isn’t too difficult to set up provided you have the correct list of steps in front of you. Step 1 - Fire up a digitalocean droplet with nginx I am assuming you have a digitalocean droplet set up with Nginx.
Hugo uses the excellent go html/template library for its template engine. It is an extremely lightweight engine that provides a very small amount of logic. In our experience that it is just the right amount of logic to be able to create a good static website. If you have used other template systems from different languages or frameworks you will find a lot of similarities in go templates. This document is a brief primer on using go templates.