diff --git a/templates/module/helfi_tpr/tpr-service-channel.html.twig b/templates/module/helfi_tpr/tpr-service-channel.html.twig index 4433229a8..bc0089db2 100644 --- a/templates/module/helfi_tpr/tpr-service-channel.html.twig +++ b/templates/module/helfi_tpr/tpr-service-channel.html.twig @@ -9,13 +9,15 @@ {% set show_mail = true %} {% endif %} -{% set service_channel_heading_level = service_channel_heading_level|default('h4') %} - {% set service_channel_eservice_links_new_tab = service_channel_eservice_links_new_tab|default(0) %}
- <{{ service_channel_heading_level }} class="service-channel__title"> - {{ content.name }} - + + {% if content.name|render %} + {% set service_channel_heading_level = service_channel_heading_level|default('h4') %} + <{{ service_channel_heading_level }} class="service-channel__title"> + {{ content.name }} + + {% endif %} {% if content.availability_summary|render %}
{{ content.availability_summary }}