Menu layouts

Layouts are stored on FTP: 

/_MenuLayouts/<<menu_alias>>/

menu.layout

<nav class="nav-holder">
    <a href="#" class="nav-opener"><span></span></a>
    <div class="{{this.alias}} nav-slide">
        <ul>
            {% for item in this.menu -%}
                {% include "/_MenuLayouts/{{this.alias}}/item.layout" %}
            {% endfor -%}
        </ul>
    </div>
</nav>

item.layout

{% assign isSelected = "" %}
{% if request.request_url.path contains item.url %}
    {% assign isSelected = "selected" %}
{% endif -%}
<li{% if item.idAttr != "" %} class="{{item.idAttr}}"{% endif -%}{% if item.classAttr != "" or isSelected != "" %} class="{{item.classAttr}} {{isSelected}}"{% endif -%}{% if item.customAttr != "" %} {{item.customAttr}}{% endif -%}>
    <a href="{{item.url}}">{{item.label}}</a>
    {% include "/_MenuLayouts/{{this.alias}}/sub_items.layout" %}
</li>

sub_items.layout

{% if item.children != null %}
    {% assign currentItem = item -%}
    <div class="drop">
        <ul>
            {% for item in currentItem.children -%}
                {% include "/_MenuLayouts/{{this.alias}}/item.layout" %}
            {% endfor -%}
        </ul>
    </div>
{% endif -%}