You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
site.copy fails when trying to copy a directory hierarchy starting with an underscored folder:
site.copy('_lib/someLibrary/css/','lib');
All files inside _lib/someLibrary/css/ should get copied over into the _site/lib/ folder. Instead, no files will get copied over whatsoever.
When the initial folder is not prefixed with an underscore, the sites are copied over as expected (but then, potential page files like .md or .html will get rendered, which is not the desired behavior).
As is written in the docs, copying a single underscored folder works just fine, for example:
site.copy('_static','.');// Works as expected
The text was updated successfully, but these errors were encountered:
When Lume traverses the source folder and find a folder that must be ignored (like those starting with an underscore), doesn't enter in this folder.
But you have a fair use case. I'll fix it. Thanks
Version: Lume v1.19.4
OS: Arch Linux
site.copy
fails when trying to copy a directory hierarchy starting with an underscored folder:All files inside
_lib/someLibrary/css/
should get copied over into the_site/lib/
folder. Instead, no files will get copied over whatsoever.When the initial folder is not prefixed with an underscore, the sites are copied over as expected (but then, potential page files like .md or .html will get rendered, which is not the desired behavior).
As is written in the docs, copying a single underscored folder works just fine, for example:
The text was updated successfully, but these errors were encountered: