        {%- assign pages = site.pages | where_exp: "page", "page.group == group.name" | sort: "nav_order" -%}
                {%- capture submenuId -%}submenu-{{ category.name | replace: " ", "_" }}-{{ group.name | replace: " ", "_" }}-{{ forloop.index }}{%- endcapture -%}
                {%- assign activeCount = pages | where_exp: "groupPage", "groupPage.url == page.url" | size -%}
                
                
                <!-- TODO: Catpure groupActive and linkActive to apply classes and data prop