{% for num in (1..include.rating) %} {% endfor %} {% assign remainder = 5 | minus: include.rating %} {% for num in (1..remainder) %} {% endfor %}