Attributes = '' %}
        {% if include.class and include.class != blank %}
            {% capture rootAttributes %} class="{{ include.class | split: '.' | join: ' ' }}"{% endcapture %}
        {% endif %}

        {% if include.id and include.id != blank %}
            {% capture rootAttributes %}{{ rootAttributes }} id="{{ include.id }}"{% endcapture %}
        {% endif %}

        {% if rootAttributes %}
            {% assign nodes = jekyll_toc | split: '>' %}
            {% capture jekyll_toc %}<{{ lis