DEV Community

Adam.S
Adam.S

Posted on • Updated on • Originally published at bas-man.dev

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.

links

Note:
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
Enter fullscreen mode Exit fullscreen mode

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

Top comments (1)

Collapse
 
roneo profile image
Roneo.org

Thanks for the quote!