Output the term title on page--custom.html.twig I'm pulling my hair out trying to create a custom page--custom.html.twig for a content type and getting taxonomy terms to display.

I'm currently using the following piece of code:

{% if node.field_work__services.0 %}
   &lt;ul&gt;
      {% for key, item in node.field_work__services %}
         &lt;li&gt;{{ item.title }}&lt;/li&gt;
      {% endfor %}
   &lt;/ul&gt;
{% endif %}


The if statement resolves, so I get a UL with an equivalent number of LIs to the number of taxonomy terms for that node... however, I can't get it to output the actual taxonomy term.

Anyone have any idea how to do this?
Try with:

{% if node.field_work__services|length %}
      &lt;ul&gt;
        {% for item in node.field_work__services %}
          &lt;li&gt;{{ item.entity.label }}&lt;/li&gt;
        {% endfor %}
      &lt;/ul&gt;
{% endif %}