Skip to content

Commit 047f53e

Browse files
authored
Update template.liquid - swap capture to assign
1 parent 50fff00 commit 047f53e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_IO_Template_Emails/template.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ Success rate: {{ success_rate }}% [{%- for i in (1..bar_filled) -%}█{%- endfor
6262
Keep being awesome!
6363
With love and high-fives! 🙌
6464
---
65-
{%- capture event_mod -%}{{ total_events | modulo: 3 }}{%- endcapture %}
65+
{% assign event_mod = total_events | modulo: 3 %}
6666
{% if event_mod == 0 %}
6767
<i>P.S. Remember: Every expert was once a beginner - they're doing brilliantly! 🌟</i>
6868
{% elsif event_mod == 1 %}
6969
<i>P.S. Fun fact: Even superheroes had to learn to use the potty! 🦸</i>
7070
{% else %}
7171
<i>P.S. Remember: accidents are just practice in disguise! They're doing amazingly! 💕</i>
72-
{% endif %}
72+
{% endif %}

0 commit comments

Comments
 (0)