tle == title -%}
                                {%- assign class = 'active' -%}
                            {%- endif -%}
                            {% if item.has_child %}
                                {% assign id = item.title | downcase | append: '-sidenav-collapse' %}
                                {% assign page_url_segments = page.url | split: '/' %}
                                {% assign page_second_segment = page_url_segments[2] %}
                                {% assign item_url_segments 