-
Notifications
You must be signed in to change notification settings - Fork 972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested directory globs with ignored_content #1701
Comments
Right now the ignored content only work on a file basis, it strips the path before checking the glob: https://github.com/getzola/zola/blob/master/components/library/src/content/mod.rs#L56-L64
|
I also need Additionally, how about ignoring stuff from |
Hmm not entirely sure how I feel about that. You'd need a config option to turn it off so I think I prefer to not do that. |
Then adding in support for directory paths in |
Yep it's fine to add, but it should work on every platforms. We're using |
Well, turns out we didn't even need |
Haven't gotten around to testing it, but it looks like this was resolved by #1738 🙌 . |
What I'd like to do is have this work:
ignored_content = ["albums/**/*.{jpg,jpeg,png}"]
. Basically ignore any images incontent/albums
and all sub-folders of that. This does not work.ignored_content = ["*.{jpg,jpeg,png}"]
works, but it ignores all images incontent
basically.I think #481 says this should work, but it may just be referring to specifying a particular folder.
I'm using
v0.15.2
.The text was updated successfully, but these errors were encountered: