{% load i18n %}
{% for node in nodes %}
{% if node.name %} {% if node.taxa %}
{% for taxon in node.taxa %} {% if taxon.taxon_source == 'taxonomy.sources.custom' %} {{ taxon.taxon_latname }}{% if not forloop.last %},{% endif %} {% else %} {{ taxon.taxon_latname }}{% if not forloop.last %},{% endif %} {% endif %} {% endfor %}
{% endif %} {% endif %} {% if node.images %}
{% for image in node.images %} {% endfor %}
{% endif %}
{% if node.children %}
{% with nodes=node.children %} {% include 'taxon_profiles/ajax/taxon_profiles_navigation_level.html' %} {% endwith %}
{% endif %}
{% endfor %}