<nav class="desktop">
    <div class="edgePadding"></div>
    {% include site-title.html %}
    <div class="centralPadding"></div>

    {%- for path in page_paths -%}
        {%- assign my_page = site.pages | where: "path", path | first -%}

        {% assign excluded_layout = false %}
        {% for tag in site.main_nav_exclude_layouts %}
            {% if tag == my_page.layout %}
                {% assign excluded_layout = true %}
            {% endif %}
        {% endfor %}

        {%- unless my_page.ma