first
()This method returns the first Record that matches the
query. If no such record can be produced, None
is returned.
{% set first_visible = this.children.first() %} {% if first_visible %} <h2>Explore More ...</h2> <p>{{ first_visible.title }} {% endif %}
Comments