I'd like to output taxonomy terms as html classes for view-rows in the views unformatted template for Drupal 8.
My code:
{% if title %}
<h3>{{ title }}</h3>
{% endif %}
{% for row in rows %}
<div class="taxonomy-term-{{ term.id }}">
<div{{ row.attributes }}>
{{ row.content }}
</div>
</div>
{% endfor %}
What am I missing?