=collection_key %}
                  </li>
                </ul>
              {% else %}
                <div class="nav-category">{{ collection_value.name }}</div>
                {% include nav.html pages=collection key=collection_key %}
              {% endif %}
            {% else %}
              {% include nav.html pages=collection key=collection_key %}
            {% endif %}
          {% endif %}
        {% endfor %}
      {% endif %}
    </nav>

    {% capture nav_footer_custom %}
      {%- includ