Hugo has virtual overlay filesystem.
It gives you a way to mount directories.
You can see the mounts with hugo config
.
Today I tried mounting the sub-directories into the
assets
and static
, and while results were promising
at first, the outcome was deceiving. Only the first
mount was working OK. Overlays in Hugo don’t support
nesting.