Automation

Automating website build and deploy

Published on

Since I didn’t manage to write blog posts regularly enough in the last few months, I forgot how to deploy the changes to my website. Luckily I documented how to do all of the steps in my previous blog posts! I guess that is the benefit of a system like Wordpress or Drupal, where the authoring is a bit more straightforward out of the box, at the cost of the simplicity of managing patches for a static site of course…

Adding analytics to your website

Published on

Initially I setup Google Analytics because I had used it before on a previous project, and spotted that there is a Hugo integration. But I got thinking that there must be information about how to use the information straight from CloudFront. This great article confirmed my suspicions! Google Analytics Setting up Google Analytics with Hugo is as simple as adding your Google Analytics id to the config.yaml. I didn’t look into whether this then assumes that the theme you are using also supports this, or whether there is other magic so that it ‘just works’.