And I check which assets are included in that section with the following code:
{% for asset in section.assets %}
<li>{{ asset }}</li>
{% endfor %}
It produces the following:
file1.svg
But I expect it to produce:
file1.svg
mysubfolder/file2.svg
Is there anything preventing adding this behaviour?
I think this behaviour is what most people would expect given that Zola already supports asset colocation subfolders for pages. It would be more consistent if they were also supported for sections.
I image that would be pretty easy, though. A folder with a section has a _index.md file, a page folder has an index.md file (without the underscore), and a folder with just assets has neither.
I am confused – are you able to provide an example of a folder structure that would be ambiguous @keats? I am sure it would be obvious once pointed out but I’m struggling to wrap my head around this.