{% extends 'Lenord/base.html.twig' %}
{% block header_epingles %}
{{ include('Lenord/Main/parts/epingles.html.twig') }}
{% endblock %}
{% block header_breadcrumb %}
{% include 'Nordinfo/Main/parts/breadcrumb.html.twig' with {'variation':'le-nord'} %}
{% endblock %}
{% block header_breadcrumb_pdf %}
{% include 'Nordinfo/Main/parts/breadcrumb.html.twig' with {'variation':'le-nord'} %}
{% endblock %}
{% block body %}
<main role="main" tabindex="-1" id="mainContent">
{% include 'Nordinfo/Main/parts/back_btn.html.twig' with {'back_btn_class':'--leNord --pageLegal'} %}
<article>
<div class="containerSm containerPostDetails --nordServices mBMd">
<h1 class="__headingMain mTMd--imp">Plan du site</h1>
<div class="containerContent --nordServices">
<ul class="sitemap not-diamond">
{% for item in urls %}
<li>
<a href="{{ item.parent.url }}" class="no-external-icon">{{ item.parent.name }}</a>
{% if item.children is defined %}
<ul class="not-diamond">
{% for child in item.children %}
{% if (child.url is defined and child.url is not empty) and (child.name is defined and child.name is not empty) %}
<li>
<a href="{{ child.url }}">{{ child.name|striptags }}</a>
</li>
{% endif %}
{% if child.children is defined %}
<ul class="not-diamond">
{% for schild in child.children %}
<li>
<a href="{{ schild.url }}">{{ schild.name|striptags }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
</div>
</article>
</main>
{% endblock %}
{% block footer_top %}
{% include 'Nordinfo/Main/parts/our-websites.html.twig' %}
{% if is_preview != 1 %}
<div class="container pB pT">
{% include 'Nordinfo/Main/parts/article-actions.html.twig' with {'post_title':'test', 'post_id':'test', 'is_nord_services':true} %}
</div>
{% endif %}
{% endblock %}