Simple Icons set has been packaged as a Hugo module

A few weeks ago, I’m trying to learn about Hugo Modules so I packaged Simple Icons.

One of the common use case for me is to create a data template from a list of links and showing the icons of them. You can see an example of it from one of my themes and how it’s implemented.


Very nice.

I wonder if you can simplify using your module by already doing some mount in your module/config.toml.

Something (not tested) ala:

source = "icons"
target = "assets/svg/simple-icons"
source = "_data"
target = "data"

That worked. Thanks for the feedback! It should be updated in the repo real soon.

That said, I wonder what would happen if the source is a directory and has more than one file but the target specifies only one?