[1.1.0] ⚠️ Header service_title is not a slot

Created on 28 November 2024, 28 days ago

In header component, service_title is a slot, but it is used in a HTML attributes:

              <a href="{{ home_url|default('/') }}" title="{{ 'Homepage'|t }} - {{ service_title }} - {{ logo_text }}">
                <p class="fr-header__service-title">{{ service_title }}</p>
              </a>

This is not possible for 2 reasons;

  • not the expected data type/structure
  • breaks the visual display builders (like layout builder)

What do we do?

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024