- πΊπΈUnited States plato1123
Looks like there's still no way to render the body field of the current node?
I'm using a barrio based theme...
{{ node.body.value|raw }} strips out embedded media entities for some reason...
{{ content.body.0 }} <-- none of the content ones work in my template for some reasonAnd twigtweak can't render the body field either it seems like. I'm surprised {{ drupal_field('body', 'node') }} isn't a thing...
- π·πΊRussia Chi
{{ content.body.0 }} <-- none of the content ones work in my template for some reason
That basically indicates that you have not configured the formatter for the body field.
I've counted at least 5 ways to render body of the current node.
{{ content.body }} {{ content.body[0] }} {{ drupal_field('body', 'node', node.id) }} {{ node.body|view }} {{ node.body[0]|view }}