Hugo Custom Info Boxes

The other day I got my regular summary from GoHugo a discourse site where I am a member. This lead me to an interesting blog, which then lead me to an article on how to add custom info boxes to your site if it is not provided by your theme.

Some of the links no longer appear to work. Or have expired certificates.

I also had to add the following to my config.toml file. For either of the solutions to work.

[markup.goldmark.renderer]
  unsafe = true

Anyway. I thought I would share this in case anyone else was looking for similar.