Skip to content

Commit 18e0eae

Browse files
committed
fix: cosmétique title des composants tile
1 parent cae507a commit 18e0eae

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

_includes/components/tile.njk

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99
{% else %}
1010
{% set tileUrl = tile.externalUrl %}
1111
{% endif %}
12-
{% set urlDescription %}
13-
{{ tile.title }}
14-
{% if tile.externalUrl %}- {{ "new_window" | i18n }}{% endif %}
15-
{% endset %}
12+
{% set urlDescription %}{{ tile.title }}{% if tile.externalUrl %} - {{ "new_window" | i18n }}{% endif %}{% endset %}
1613
<h4 class="fr-tile__title">
1714
<a class="fr-tile__link"
1815
href="{{ tileUrl }}"

0 commit comments

Comments
 (0)