{% extends 'base.html.twig' %} {# Actualité Hub page ("actualite_hub" template) Data provided by ActualiteHubPageEnricher: - title/slug/metaTitle/metaDescription: the hub page's OWN localized fields (via enrichCommonData) - cards (ActualiteHubCardModel[]): one per published "actualite" page, server-sorted by updatedAt DESC. Each card exposes only title/slug/mainImagePath/tags/updatedAt/entity — never content.blocks (see ActualiteHubPageEnricher's PHPDoc for why). - availableTags (Tag[]): deduplicated list of tags actually used by >=1 published "actualite" page, used to render the filter-pill bar. Filtering is 100% client-side (no fetch/XHR) via assets/ts/pages/actualite-hub-filter.ts, which reads each card's `data-tags` attribute and the filter-pill bar's clicks. See that module for the multi-tag OR-filter contract. #} {% block title %}{% if editMode|default(false) %}Édition : {% endif %}{{ metaTitle ?? title }}{% endblock %} {% block meta %} {% endblock %} {% block stylesheets %} {{ parent() }} {{ encore_entry_link_tags('actualite-hub') }} {% endblock %} {% block body %}
{{ app.request.locale == 'en' ? 'No news matches this filter' : 'Aucune actualité ne correspond à ce filtre' }}
{{ app.request.locale == 'en' ? 'No news available at the moment' : 'Aucune actualité disponible pour le moment' }}