Twig whitespace controls have no effect on fields

Twig whitespace controls have no effect on fields

I am trying to iterate over a Paragraph field and apply a comma after each Paragraph item. In the field template that outputs the Paragraph, I am trying: {%- for item in items %} {{ item.content }}{{ not loop.last ? ‘, ‘ }} {% endfor -%} This puts the... read more
Using Composer in a multisite installation

Using Composer in a multisite installation

How do I manage modules via composer in a multisite architecture? For example, if I want one site to have version 2.3 of a module, and another to have version 2.4, how do I do this? Do I have a composer file in each site that can inherit from the composer file in the... read more