Skip to content

Commit

Permalink
fix tagging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dcnb committed Oct 2, 2024
1 parent fd410fa commit 480d074
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _includes/transcript/item/transcript.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
{% assign prev_index = forloop.index0 | times: 1 | minus: 1 %}
{% assign prev_speaker = items[prev_index].speaker %}
{% assign mod = forloop.index0 | plus: 1 | modulo: 5 %}
<div id="{{page.objectid}}{{ forloop.index0 }}" class="{%- assign tags = item.tags | split: " ;" | compact |
where_exp: 'item' , 'item != " "' %}{% for tag in tags %}{{tag | slugify }} {% endfor %}row line py-1">
<div id="{{page.objectid}}{{ forloop.index0 }}" class="{%- assign tags = item.tags | split: ";" | compact | where_exp: 'item' , 'item != " "' %}{% for tag in tags %}{{tag | remove: ";" | strip | downcase }} {% endfor %}row line py-1">
<p class="words col-md-10 col-lg-8 col-print-12 pr-0">
{% unless item.speaker == prev_speaker %}{%if item.speaker %}<span class="fw-bold pe-3 pb-3">{{item.speaker |
remove: ":"}}: </span>{% endif %}{% endunless %}{{item.words}}
Expand Down

0 comments on commit 480d074

Please sign in to comment.