I’m attempting to implement a carousel , inside my views-view-fields–block_1.html.twig , I wish to add lively class inside Drupal Development div for Drupal Development first Iteration . I’ve added Drupal Development code in twig file however each time it’s including lively class for all Drupal Development iteration.
code snippet:
{% if fields.counter.content material == 1 %} {% set tag = "lively" %} {% else %} {% set tag = "" %} {% endif %}
In my opinion title,physique,picture and consequence counter fields are there . From consequence counter i get Drupal Development worth and evaluating inside Drupal Development above twig file. Can anybody give suggestion, the way to obtain this.
Thanks,