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,11 +62,11 @@ 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 %}
|
||||
<i>P.S. Fun fact: Even superheroes had to learn to use the potty! 🦸</i>
|
||||
{% else %}
|
||||
<i>P.S. Remember: accidents are just practice in disguise! They're doing amazingly! 💕</i>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue