{% import '/cards/macros/note.html.twig' as noteView %} {{ 'Notes related' | trans }} {% for note in related_notes %} {{ noteView.note_compact(note) }} {% endfor %}