Logic in sidenav is creating an empty unordered subnav list. We should correct this to have clean markup.
|
{% if (_current or (page.url contains _href or page.permalink contains _href)) and link.subnav %} |
|
<ul class="usa-sidenav__sub-list"> |
|
{% for sublink in link.subnav %} |
|
<li> |
|
<a href="{% if sublink.external == true %}{{ sublink.href }}{% else %}{{ sublink.href | relative_url }}{% endif %}" {% if page.url == sublink.href or page.permalink == sublink.href %}class="usa-current"{% endif %}>{{ sublink.text }}</a> |
|
</li> |
|
{% endfor %} |
|
</ul> |
|
{% endif %} |
Results

url: https://www.plainlanguage.gov/law/page-template/
Logic in sidenav is creating an empty unordered subnav list. We should correct this to have clean markup.
plainlanguage.gov/_includes/sidenav.html
Lines 14 to 22 in e5f1546
Results

url:
https://www.plainlanguage.gov/law/page-template/