{{ site.name }} {{ site.name }}
{% for item in site.data.sidebar.options %} {% comment %} {% endcomment %} {% assign open_submenu = '' %} {% if item.nested_options %} {% for nested_item in item.nested_options %} {% if nested_item.url == page.url %} {% assign open_submenu = 'open' %} {% endif %} {% endfor %} {% endif %}
{% if item.nested_options %}
{% for nested_item in item.nested_options %} {{ nested_item.title }} {% endfor %}
{% else %} {{ item.title }} {% endif %}
{% endfor %}