Blog

A collection of quotes, things learned, and who-knows-whats

Create an HTML Table From a TOML Data File in Hugo

This post was inspired by a recent Hugo discussion. In a nutshell: instead of writing the table in markdown, the user wanted to build the table from a TOML data file. Below is one way to solve this.

Resources for Learning to Code

I’m sometimes asked about resources I would recommend for learning how to code. That phrase can mean a lot of things, so pulling from my own experience, here’s how I’d narrow it down. Please note that these are my personal recommendations, and are only a very small slice of the “learning to code” pie.

The os.Stat Function in Hugo

The os.Stat function in Hugo (see the docs) is useful for getting info on a file.

Use Snap to Install the Hugo Edge Version on Fedora and Ubuntu

If you are using the Fedora or Ubuntu Linux distributions – I’m currently on Fedora 28 – and would like to help test the latest development version of Hugo, or if you just want to be on the bleeding-edge of things, this post is for you.

Run Hugo Server With Custom Config Options

The idea originally came from this hugo discussion forum post. There was a commit (it has since been reverted) that removed the disableFastRender flag from the config.toml options. So instead of running hugo server and it picking up the flag from your config file, you’d now have to run hugo server --disableFastRender.

Current page: 38 of 44
Total blog posts: 220