Sha256: 8288037eda316e5f1e34efbd06c0f4759e0af227fb6faf875c68fe09bcbffd60
Contents?: true
Size: 758 Bytes
Versions: 1
Compression:
Stored size: 758 Bytes
Contents
<nav> <ul class="usa-sidenav-list"> {% for link in include.links %} {% assign _href = link.href %} {% assign _current = false %} {% if link.href == page.url or link.href == page.permalink %} {% assign _current = true %} {% endif %} <li> <a href="{% if link.external == true %}{{ link.href }}{% else %}{{ link.href | relative_url }}{% endif %}" {% if _current %} class="usa-current" {% endif %} {% if link.class %}class="{{ link.class }}" {% endif %} > {{ link.text }} </a> {% if _current and page.subnav %} <ul class="usa-sidenav-sub_list"> {% include subnav.html links=page.subnav %} </ul> {% endif %} </li> {% endfor %} </ul> </nav>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
uswds-jekyll-4.2.0 | _includes/sidenav.html |