File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,10 @@ <h2 class="category-header">{{ category }}</h2>
6464
6565 {% assign academic_subtitle = "" %}
6666
67+ {% assign split_professional_title = person.professional_title %}
68+
6769 <!-- Isolate the PhD part of the professional_title -->
68- {% assign split_professional_title = person.professional_title | split: "," %}
70+ {% comment %} {% assign split_professional_title = person.professional_title | split: "," %}
6971
7072 {% for i in (0..max_index) %}
7173 {% assign current = split_professional_title[i] | strip %}
@@ -76,7 +78,7 @@ <h2 class="category-header">{{ category }}</h2>
7678 {% assign academic_subtitle = current | append: split_professional_title[next_index] %}
7779 {% endif %}
7880 {% endif %}
79- {% endfor %}
81+ {% endfor %} {% endcomment %}
8082
8183 {% comment %} Use professional_title if academic_subtitle is not available {% endcomment %}
8284 {% if academic_subtitle == "" %}
@@ -96,9 +98,9 @@ <h2 class="category-header">{{ category }}</h2>
9698 {% comment %} Use academic_title if available, otherwise try calculated title {% endcomment %}
9799 {% if person.academic_title %}
98100 {{ person.academic_title }}
99- {% elsif academic_subtitle != "" %}
101+ {% elsif academic_subtitle != "" %}
100102 {{ academic_subtitle }}
101- {% else %}
103+ {% else %}
102104 {{ person.subtitle }}
103105 {% endif %}
104106
You can’t perform that action at this time.
0 commit comments