Easy static website editing using TravisCI and Forestry.io

Published on August 17, 2018 by Kevin Guay


Overview One drawback to static websites is ease of management. After working with static website compilers for the past few years, I have finally settled on a process that makes management a breeze. GitHub file structure I have always used GitHub when developing websites, but mainly for the version control and collaboration features. Now it is the basis of my workflow: I created a GitHub repository to store my pre-compiled website files.

Hugo: HTML code in content files

Published on January 18, 2018 by Kevin Guay


TL;DR You can use HTML in Hugo content files (markdown files) by including some (any) markdown code at the top of the page (e.g. an empty header #). Background I recently switched this website’s backend to Hugo instead of HarpJS. I have been using HarpJS for two years and love it. It is a very minimal static website compiler that has support for some great languages, including Pug (formerly Jade), Sass/Less, as well as the usual suspects, including HTML (EJS) and Markdown.

Ansible OS distribution and version

Published on December 26, 2017 by Kevin Guay


The Gist Ansible has built-in “facts” about your hosts that make it easy to find basic information such as hostname, operating system, IP address. This is great for debugging or inventorying systems, however OS version is not included and it was surprisingly difficult to find a way to print this information out. I understand that Ansible is OS-independant (and hence OS-version-independant), however, it can be useful to know which servers are running CentOS/RH 6 vs 7.