I’d like to copy everything in apps/library/fonts to static/fonts. Possible with Hugo, on build? I’m currently manually running a Gulp task to do this, and would like to eliminate Gulp.
So (and I admit this may be surprising behaviour, but the idea behind it was noble). The mount section was intented to replace all the different staticDir, contentDir, layoutDir etc. settings, but I kept them working for legacy reasons.
But it does say in the docs that if you add a module.mounts config section, you need to configure all the mounts you use (even the defaults):
Thank you for the clarification. I did read that docs page, however it was not completely clear to me that listing them all was a requirement, but now I realize more how it actually works, so thank you.