Update template.liquid - swap capture to assign

This commit is contained in:
Tyeth Gundry 2025-06-11 12:27:09 +01:00 committed by GitHub
parent 50fff0047f
commit 047f53e1ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,7 +62,7 @@ Success rate: {{ success_rate }}% [{%- for i in (1..bar_filled) -%}█{%- endfor
Keep being awesome! Keep being awesome!
With love and high-fives! 🙌 With love and high-fives! 🙌
--- ---
{%- capture event_mod -%}{{ total_events | modulo: 3 }}{%- endcapture %} {% assign event_mod = total_events | modulo: 3 %}
{% if event_mod == 0 %} {% if event_mod == 0 %}
<i>P.S. Remember: Every expert was once a beginner - they're doing brilliantly! 🌟</i> <i>P.S. Remember: Every expert was once a beginner - they're doing brilliantly! 🌟</i>
{% elsif event_mod == 1 %} {% elsif event_mod == 1 %}