From e5cc35dc4b6ba3745b3057482cc5c9f3cbb70638 Mon Sep 17 00:00:00 2001 From: James O'Toole Date: Tue, 20 Jun 2023 16:02:12 -0700 Subject: [PATCH] Update node--ubc-profile--sidebar-content.html.twig --- templates/content/node--ubc-profile--sidebar-content.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/content/node--ubc-profile--sidebar-content.html.twig b/templates/content/node--ubc-profile--sidebar-content.html.twig index 6d33343..d95cb73 100644 --- a/templates/content/node--ubc-profile--sidebar-content.html.twig +++ b/templates/content/node--ubc-profile--sidebar-content.html.twig @@ -89,7 +89,7 @@

{% if not (node.field_profile_name_prefix.isEmpty == true) and content.field_profile_name_prefix is defined %}{{ content.field_profile_name_prefix.0 }}{{ ' ' }} {% endif %} - {% spaceless %}{{ label }}{% endspaceless %}{% if not (node.field_profile_name_suffix.isEmpty == true) and content.field_profile_name_suffix is defined %}{{- ', ' -}}{{- content.field_profile_name_suffix.0 -}} + {% apply spaceless %}{{ label }}{% endapply %}{% if not (node.field_profile_name_suffix.isEmpty == true) and content.field_profile_name_suffix is defined %}{{- ', ' -}}{{- content.field_profile_name_suffix.0 -}} {% endif %}

{% if not (node.field_profile_pronouns.isEmpty == true) and content.field_profile_pronouns is defined %}