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

FR: Assets tag allows for folder inheritance when using folder parameter #1576

Closed
iboxifoo opened this Issue Aug 30, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@iboxifoo

iboxifoo commented Aug 30, 2017

Just now when using the {{ assets }} tag the folder parameter will only display assets if they are in the root of the folder selected.

Instead, it would be a nice feature if assets in multiple subfolders of the folder selected in the tag showed too.

For example with this folder structure, assuming assets only exist under folder1.1 and folder 1.2:

container
 |
 +-- folder1
 |  |  
 |  +-- folder1.1
 |  +-- folder1.2

Using this asset tag will show no assets:
{{ assets container="container" folder="folder1" }}

Piping multiple folders doesn't show assets either:
{{ assets container="container" folder="folder1.1|folder1.2" }}

Maybe add a recursive parameter to allow assets from subfolders to be shown?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment