Is there any way to use {{ node.field_name }} in the ds custom layout?
{{ ds_content.field_name }} won't work, even if field names in settings is checked.

Kint shows the field for node.

In the normal page.html.twig it works. I’d like to use in the template not in the UI.
Using the field within DS UI works, but generates unnecessary code, besides that the field length for field templates is limited.

Going crazy here!

Comments

Hummer created an issue. See original summary.

stillworks’s picture

Component: Field UI » Code
borisson_’s picture

No idea how to resolve the actual issue, but it seems you (like many others – it's really easy to misinterpret) are confused by the "Issue tags" field. As the guidelines state, they aren't meant for free text tags related to the issue, but only for specific categorization purposes, usually by module maintainers.
So, if you aren't sure your current usage is correct, please just leave the field empty.

aspilicious’s picture

Status: Active » Closed (works as designed)

You can print ds_content to see what will be rendered. Only the fields available in the UI will be listed.