{% if __SELF__.items.count > 0 %}
{% partial __SELF__ ~ '::contents' item=__SELF__.currentItem %}
{% else %}
{% partial __SELF__ ~ '::empty' %}
{% endif %}