{% for w in workouts %}
  1. {{ w.duration }}
    {{ w.average_rpm }} RPM
    {% if w.is_heart_rate_available %}
    {{w.average_bpm }} BPM
    {% endif %}
    {{ w.distance }} KM
    {{ w.calories }} CALS
    {{ w.bike_display_name }}
  2. {% if loop.index == loop.length and loop.length > 0 and not workouts_all_loaded|default(false, true) %}
    {% endif %} {% endfor%}