|
24 | 24 | {% set isFirstThree = section.order < 4 %}
|
25 | 25 | {% set shouldExpand = expandFirstThree and isFirstThree %}
|
26 | 26 | {% set shouldExpand = sectionActive or shouldExpand %}
|
27 |
| - |
28 |
| - <details |
29 |
| - class="wrapper section-collapse{% if sectionActive %} activeSection{% endif %}" |
30 |
| - {% if shouldExpand %}open{% endif %}> |
31 |
| - <summary class="sectionHead{% if section.url == page.url %} active{% endif %}"> |
32 |
| - <span aria-hidden="true" class="marker">›</span>{{ section.title }} |
33 |
| - {% if section.labs == true %} |
34 |
| - <img class="labs" src="/images/alerts/labs.svg" alt="labs" loading="lazy" fetchpriority="low" /> |
35 |
| - {% endif %} |
36 |
| - </summary> |
37 |
| - <ol> |
38 |
| - {% for child in section.children %} |
39 |
| - <li{% if child.url == page.url %} class="active"{% endif %}> |
40 |
| - <a href="{{ child.url | url }}"> |
41 |
| - {{ child.title }} |
42 |
| - {% if child.labs == true %} |
43 |
| - <img class="labs" src="/images/alerts/labs.svg" alt="labs" loading="lazy" fetchpriority="low" /> |
44 |
| - {% endif %} |
45 |
| - </a> |
46 |
| - </li> |
47 |
| - {% endfor %} |
48 |
| - </ol> |
49 |
| - </details> |
| 27 | + <li> |
| 28 | + <details |
| 29 | + class="wrapper section-collapse{% if sectionActive %} activeSection{% endif %}" |
| 30 | + {% if shouldExpand %}open{% endif %}> |
| 31 | + <summary class="sectionHead{% if section.url == page.url %} active{% endif %}"> |
| 32 | + <span aria-hidden="true" class="marker">›</span>{{ section.title }} |
| 33 | + {% if section.labs == true %} |
| 34 | + <img class="labs" src="/images/alerts/labs.svg" alt="labs" loading="lazy" fetchpriority="low" /> |
| 35 | + {% endif %} |
| 36 | + </summary> |
| 37 | + <ol> |
| 38 | + {% for child in section.children %} |
| 39 | + <li{% if child.url == page.url %} class="active"{% endif %}> |
| 40 | + <a href="{{ child.url | url }}"> |
| 41 | + {{ child.title }} |
| 42 | + {% if child.labs == true %} |
| 43 | + <img class="labs" src="/images/alerts/labs.svg" alt="labs" loading="lazy" fetchpriority="low" /> |
| 44 | + {% endif %} |
| 45 | + </a> |
| 46 | + </li> |
| 47 | + {% endfor %} |
| 48 | + </ol> |
| 49 | + </details> |
| 50 | + </li> |
50 | 51 | {% else %}
|
51 | 52 | <a href="{{ section.url | url }}">{{ section.title }}</a>
|
52 | 53 | {% endif %}
|
|
0 commit comments