{% if card.href %} {{ card.label }} {% else %} {{ card.label }} {% endif %} {% if card.children %} {% for child_label, child_href in card.children %} {{ child_label }} {% endfor %} {% endif %}