{% extends '../layouts/default.html' %}

{% block main %}


{% endblock %}

{% block content %}
<div class="container pb-sm-40">
      <div class="section-title">
  {% if (sectionTypes.length) %}
    {% for sectionType in sectionTypes %}
      {% include 'sectionType.html' %}
    {% endfor %}

    {% if (pages > 1) %}
      <ul class="pagination">
        {% autoescape false %}
          {{ createPagination(pages, page) }}
        {% endautoescape %}
      </ul>
    {% endif %}
  {% else %}
    <h4 class="muted">
      No articles.&nbsp;
      <a href="/sectionTypes/new">create one</a>
    </h4>
  {% endif %}
    </div>
    </div>
{% endblock %}

    