{% extends "base.html" %}

{% block content %}

<section class="single-page-title">
  <div class="container text-center hidden-xs">
    <h2>{{ section.title }}</h2>
  </div>
</section>

<section class="ptb-100">
  <div class="container">
    {% if section.content %}
      <div class="row"><div class="col-md-12">{{ section.content | safe }}</div></div>
    {% endif %}

    {% for page in section.pages %}
      <article id="{{ page.extra.anchor | default(value=page.slug) }}" class="anchor-section">
        <h2 class="section-title">{{ page.title }}</h2>
        {{ page.content | safe }}
      </article>
    {% endfor %}
  </div>
</section>

{% endblock %}
