I want to have two different templates for the same field on a node template.
For example:
<div class="navigation>{{ content.field_section }}</div>
// uses paragraph--section.html.twig
// Only want to print the titles from paragraph sections
<section>{{ content.field_section }}</section>
// uses paragraph--section2.html.twig
// Want to print the body and titles from paragraph sections
How can I do this? Is there a way to flag one instance or force a specific template?
include
.