- {% for depth, lesson_list in depths.items %}
- <section class="section-depth section-depth-{{ depth }}">
- {% if depth == 0 %}
+ <div class='sections-row'>
+ {% for lesson_type, lesson_list in types.items %}
+ {% if lesson_type == 'project' %}
+ </div><div class='sections-row'>
+ {% endif %}
+ <section class="section-type section-type-{{ lesson_type }}">
+ {% if lesson_type == 'synthetic' %}
+ {% if section.image %}
+ {% thumbnail section.image "120x160" as im %}
+ <a class="image" href="{{ section.image.url }}">
+ <img src="{{ im.url }}" />
+ </a>
+ {% endthumbnail %}
+ {% endif %}