I want to work with a specific child page of my current page. The following “works”, but seems clunky:
{% for kid in page.children() %}
{% if kid.slug == "slides" %}
{% for img in kid.media.images %}
{{ ... }}
{% endfor %}
{% endif %}
{% endfor %}
Is there no way to “filter” page.children() calls at the top to return only children that match some attribute? (ie, slug==“slides”?)
Thank you.