{% extends 'layout.html.twig' %}

{% block content %}
	
{% if document is defined and document and rootDocument is defined and rootDocument %}
	{% set navStartNode = rootDocument %}
	{% set navigation = pimcore_build_nav({ 'root': rootDocument }) %}
{% endif %}
<div class="entry">
	{{ pimcore_render_nav(navigation) }}
</div>

{%  endblock %}
