{#
Clefs disponibles
- enabled
- type => h1 par défaut
- class
- content
#}
{% if title.content is defined and canDisplayComponent(app.user, title) %}
<{% if title.type is defined and title.type not in ['', null] %}{{ title.type }} {% else %}h1{% endif %} {% if title.class is defined %}class="{{ title.class }}"{% endif %}>
{% if title.format is defined and title.format is same as('html') %}
{{ title.content|replaceKeyInText|raw }}
{% else %}
{{ title.content|trans|capitalize|replaceKeyInText|raw }}
{% endif %}
</{% if title.type is defined %}{{ title.type }} {% else %}h1{% endif %}>
{% endif %}