Directory Specific Data Files should traverse up directory hierarchy.
See original GitHub issueI have a deep hierarchy of folders in my top folder photos/
:
https://github.com/nhoizey/photosynthese.net/tree/master/photos/voyages/asie/hong-kong
I would like to use getFilteredByGlob
to tell Eleventy every Markdown content in this folder and sub-folders are part of the photos
collection:
eleventyConfig.addCollection('photos', function(collection) {
return collection.getFilteredByGlob('photos/**/*.md')
})
But the layout is only applied to the Markdown file (test.md
) that is directly in the top level folder.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Navigating Files and Directories - Data Carpentry
Directories can be specified using either a relative path or a full absolute path. The directories on the computer are arranged into a...
Read more >Traversing Folders : MGA - Web Development Tutorials
It is fairly simple to trace the path from a Web page to a graphic image or other Web pages if you focus...
Read more >Java Program to Traverse in a Directory - GeeksforGeeks
Suppose there exists a directory with path C:\\GFG. The following image displays the files and directories present inside GFG folder. The ...
Read more >How to traverse up directory structure using batch file
Go to each file location. · Search the current folder for a 'makefile'. · If found, run 'make' and break out, else go...
Read more >What is directory traversal, and how to prevent it? - PortSwigger
Directory traversal (also known as file path traversal) is a web security vulnerability that allows an attacker to read arbitrary files on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh, yes, that is what I’d expect to happen. Although your assumption about the feature would be a welcome change. Going to switch this to be an Enhancement request.
Awesome enhancement, thanks!