{{ node.field_test1.entity.label }}
prints the label of a taxonomy field in a node.html.twig.
Is there a possiblity to suppress that outside the frontpage via node.html.twig? Or enable that only for front_page?
That means: in a view, that is searching for this term exactly, I have the same information double on screen in the view result.
"is_front"condition is not defined in node.html.twig. 'EDIT: What I meant is that:
{% if not page %}
<h2{{ title_attributes.addClass('node__title') }}>
<a href="{{ url }}" rel="bookmark">{{ node.field_kategorie.entity.label }}: {{ label }}</a>
</h2>
{% endif %}
This'll be printed all over. How to do: print this (in the URL above) only for front page, for example not not in a view (that just searched for this entity)?