<div class="row intro">
<div class="col-md-6 intro-title">
    <h1>{{ document.title|default('API Star', True) }}</h1>
    {% if document.description %}
    <p>{{ document.description }}</p>
    {% endif %}
</div>
<div class="col-md-6 intro-code">
    {% for language in langs %}
        {% set template = "apistar/docs/langs/intro/" + language + ".html" %}
        {% set is_selected = loop.first %}
        {% include template %}
    {% endfor %}
</div>
</div>

{% for section in document.get_sections() %}
    {% if section.name %}
        <h2 id="{{ section.name }}" class="coredocs-section-title">
            {{ section.name }} <a href="#{{ section.name }}"><i class="fa fa-link" aria-hidden="true"></i></a>
        </h2>
    {% endif %}
    {% for link in section.get_links() %}
        {% include "apistar/docs/layout/link.html" %}
    {% endfor %}
{% endfor %}

{% for link in document.get_links() %}
    {% include "apistar/docs/layout/link.html" %}
{% endfor %}
