{% extends 'base.html.twig' %} {# SEO gere par SeoService via la variable seo (base.html.twig) #} {% block jsonld %} {% endblock %} {% block body %}
{# ====== COLONNE PRINCIPALE ====== #}
{# Header : photo + identite #}
{% if entry.photo %}
{{ entry.company ?? entry.displayName }}
{% endif %}
{% if entry.category %} {{ entry.category.name }} {% endif %}

{{ entry.company ?? entry.displayName }}

{{ bi('person-fill', 'me-1') }}{{ entry.displayName }}{% if entry.jobTitle %} — {{ entry.jobTitle }}{% endif %}

{% if entry.city %}

{{ bi('geo-alt-fill', 'me-1') }}{{ entry.city }}

{% endif %}
{# Bio / A propos #} {% if entry.bio %}

A propos

{{ entry.bio|raw }}
{% endif %} {# Tags rattaches, groupes par famille #} {% if entry.tags|length > 0 %}
{# Tags sans famille #} {% set ungrouped = entry.tags|filter(t => t.tagGroup is null) %} {% if ungrouped|length > 0 %}
{% for tag in ungrouped %} {{ tag.name }} {% endfor %}
{% endif %} {# Tags groupes par famille #} {% set groups = {} %} {% for tag in entry.tags %} {% if tag.tagGroup %} {% set gid = tag.tagGroup.id %} {% set groups = groups|merge({(gid): groups[gid]|default({group: tag.tagGroup, tags: []})}) %} {% set groups = groups|merge({(gid): {group: tag.tagGroup, tags: groups[gid].tags|merge([tag])}}) %} {% endif %} {% endfor %} {% for entry_grp in groups %}
{{ entry_grp.group.name }} {% for tag in entry_grp.tags %} {{ tag.name }} {% endfor %}
{% endfor %}
{% endif %} {# Bouton edition si proprietaire #} {% if app.user and entry.user and app.user.id == entry.user.id %} {% endif %}
{# ====== SIDEBAR ====== #}
{% endblock %}