{% for w in workouts %}
  1. Duration: {{ w.duration }} | Average RPM: {{ w.average_rpm }} | Calories: {{ w.calories }} | Distance: {{ w.distance }} {% if w.is_heart_rate_available %} | Average: BPM: {{w.average_bpm }} {% endif %}{{ w.bike_display_name }}
  2. {% if loop.index == loop.length %}
    {% endif %} {% endfor%}