{% extends "index" %}

{% block navigation %}
{{ include('components/navigation.twig', { 'nav': craft.entries.section('nav').all() }) }}
{% endblock %}

{% block content %}
    {% for element in entry.elements.all() %}
            {{ include('components/element.twig', { 'element': element }) }}
    {% endfor %}
{% endblock %}