logo

Field Values Drupal 8

28 Jun 2021

Node field twig template multiple images/item

Published On: Mon, 06/28/2021 - 14:07

Node field twig template to display multiple images/item. We can theme/design each item for that field

I am using node template as follow,

node--mycontenttype.html.twig

For example my content type name is "banner" then template name as.

node--banner.html.twig

I added field as below and its display all images but Its not able to wrap each images with div so that you can add classes to create slider.

{{ content.…