ools"></div>
      {% endif %}
      {% if forloop.index0 >= tools_start_index %}
        {% include chapter-tools.html tool_type=section chapter=chapter chapter_index=chapter_index %}
      {% else %}
        {% include {{ section }} chapter=chapter chapter_index=chapter_index %}
      {% endif %}

      {% if forloop.last %}
        <div class="mt0 mb0 light-gray thin center">
          {% include chapter-pagination.html chapter_index=chapter_index %}
        </div>
      {% endif %}
    </div>
  </sectio