Skip to content

Commit

Permalink
fix: update sign language filter logic
Browse files Browse the repository at this point in the history
  • Loading branch information
chosww committed Jul 18, 2024
1 parent ed3b9ac commit eb07011
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/_includes/partials/components/submission.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@
{%- endfor -%}
"
data-filter-language="
{%- if submission.data.youtube.interpretation -%}
{{ 'asl' if submission.data.youtube.lang === 'en' and submission.data.youtube.signLanguageUrl }},
{%- endif -%}
{%- if submission.data.youtube.interpretation -%}
{{ 'lsq' if submission.data.youtube.lang === 'fr' and submission.data.youtube.signLanguageUrl }},
{%- if submission.data.youtube.signLanguageUrl -%}
{{ 'asl' if submission.data.youtube.lang === 'en' else 'lsq' }},
{%- endif -%}
{%- if submission.data.youtube.lang === 'en' or submission.data.text.en or submission.data.transcript.en or submission.data.slides.en or submission.data.audio.lang === 'en' or submission.data.pdf.en -%}
en,
Expand Down

0 comments on commit eb07011

Please sign in to comment.