Layout Paragraphs: How to provide a layout region's sub-twig template?

Created on 30 May 2023, over 1 year ago

I am loving this Layout Paragraphs module! I suspect my support question is more of a core Layout API question, but I am honestly a little bit lost between core Layout API, Layout Paragraphs, Paragraphs, and Field/Items when it comes to twig theming.

I have created a custom Layout (Layout API through and through) with some regions, peppered its twig template with `{{ attributes.addClass('what-i-called-it') }}` and `{{ region_attributes.first.addClass('first-region') }}` etc such that it looks good and behaves nicely in the editor (one of the biggest strengths of this module is its UX this provides!), but as part of my layout, I know I will be picking apart user-placed content (paragraphs) in various ways that are best suited for paragraph-field-level twig templates (which is what led me to open πŸ’¬ Layout Paragraphs: Twig template suggestions Active ).

Can you provide a quick tip to nudge me in the right direction?

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States texas-bronius

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024