{% if course.get_chapters() | length %}
<div class="">
  <div class="course-home-headings">
    Course Outline
  </div>
  <div class="common-card-style course-outline">
    {% for chapter in course.get_chapters() %}
    {{ widgets.ChapterTeaser(index=loop.index, chapter=chapter, course=course, batch=batch, membership=membership) }}
    {% endfor %}
  </div>
</div>
{% endif %}
