Twig template - views-view-unformatted.html.twig
contains :
#}
{% if title %}
<h3>{{ title }}</h3>
{% endif %}
{% for row in rows %}
{%
set row_classes = [
default_row_class ? 'views-row',
]
%}
<div{{ row.attributes.addClass(row_classes) }}>
{{ row.content }}
</div>
{% endfor %}
I want to insert a <hr>
tag after each </div>
:
<div{{ row.attributes.addClass(row_classes) }}>
{{ row.content }}
</div>
<hr>
{% endfor %}
It works, but for all and every {{ row.content }}
. I want to do it only for certain views-blocks. Twig debugging offers me to theme a whole block (for example: block--views-block--news-left-block-1.html.twig
) and I need something like views-view-unformatted--news-left-block-1.html.twig or some other way to insert the tag.
what is the correct filename to override view template?
Thank you.