{{ block('note_sidebar', 'cards/blocks/note.html.twig') }}
{{ block('note_info', 'cards/blocks/note.html.twig') }}
{{ block('note_context', 'cards/blocks/note.html.twig') }}
{{ block('note_text', 'cards/blocks/note.html.twig') }}
{{ block('note_attachments', 'cards/blocks/note.html.twig') }}
{{ block('note_links', 'cards/blocks/note.html.twig') }}
{{ block('note_complementary', 'cards/blocks/note.html.twig') }}
{% set additional_blocks = handle_event('AppendNoteBlock', app.request, args) %}
{% for block in additional_blocks %}
{{ block | raw }}
{% endfor %}
{% endmacro vanilla_full %}
{# args: { 'type': { 'vanilla_compact' }, 'note': note, ?'extra': { 'foo': bar } } #}
{% macro vanilla_compact(args) %}
{% set note = args.note %}
{% if args.extra is defined %}{% set extra = args.extra %}{% else %}{% set extra = null %}{% endif %}
{% set actor = note.getActor() %}
{% set nickname = actor.getNickname() %}
{% set fullname = actor.getFullname() %}
{% set actor_uri = actor.getUri() %}
{% set actor_url = actor.getUrl() %}
{% set mention = mention(actor) %}