I'm creating a one page Stacey portfolio, so I need to be able to get at images in subdirectories in my default.html. The below code that I'm using does not appear to be working.
{% for child in page.root %}
{% if child.children %}
{% for child in child.children %}
<div class="item">
{{ child.title }} - {{ child.type }}
{% for image in child.image %}
{{ image.name }} <-- this returns nothing right now
{% endfor %}
</div>
{% endif %}
{% endfor %}
I'm creating a one page Stacey portfolio, so I need to be able to get at images in subdirectories in my default.html. The below code that I'm using does not appear to be working.