Update template.liquid - swap capture to assign
This commit is contained in:
parent
50fff0047f
commit
047f53e1ad
1 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ Success rate: {{ success_rate }}% [{%- for i in (1..bar_filled) -%}█{%- endfor
|
|||
Keep being awesome!
|
||||
With love and high-fives! 🙌
|
||||
---
|
||||
{%- capture event_mod -%}{{ total_events | modulo: 3 }}{%- endcapture %}
|
||||
{% assign event_mod = total_events | modulo: 3 %}
|
||||
{% if event_mod == 0 %}
|
||||
<i>P.S. Remember: Every expert was once a beginner - they're doing brilliantly! 🌟</i>
|
||||
{% elsif event_mod == 1 %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue