Sam Hooke


This website is built with Hugo, and hosted by Netlify. The source is stored in a private GitLab repository, which is deployed upon commit by Netlify.

Analytics are performed by Plausible, and integrated into Hugo using the module plausible-hugo.

The layout is custom made, designed for desktop and mobile, and supports dark mode. There is no website toggle for dark mode, it is just read from your browser/OS settings. The styling is written in SCSS, and “compiled” into CSS with Sass at deploy time.

The code highlighting, both light and dark, are based upon the github and github-dark styles respectively, provided by Hugo chromastyles.

The slippy maps are implemented using Leaflet with the Leaflet.Heightgraph plugin for the route overlays with heightmap, and a sprinkle of custom JavaScript.