Sha256: f9072fff9fecf1b016fed50f53f7244426f27764b048bc5ef2e0cbafe6d77c8a
Contents?: true
Size: 1.49 KB
Versions: 6
Compression:
Stored size: 1.49 KB
Contents
<aside> <p class="intro">{{ site.subtitle }}</p> <nav class="sidebar-nav" role="navigation"> <ul> {% for link in site.navigation %} <li class="group {% if page.title == link.text %}sidebar-nav-active{% endif %}"> <a href="{% if link.internal == true %}{{ site.baseurl }}/{% endif %}{{ link.url }}" title="{% if page.title == link.text %}Current Page {% else %}{{ link.text }}{% endif %}">{{ link.text }}</a> {% if link.children %} <button class="expand-subnav" aria-expanded="{% if link.text == page.parent or link.text == page.title %}true{% else %}false{% endif %}" aria-controls="nav-collapsible-{{ forloop.index }}">+</button> <ul class="nav-children" id="nav-collapsible-{{ forloop.index }}" aria-hidden="{% if link.text == page.parent or link.text == page.title %}false{% else %}true{% endif %}"> {% for child in link.children %} <li class="{% if page.title == child.text %}sidebar-nav-active{% endif %}"> <a href="{% if child.internal == true %}{{ site.baseurl }}/{{ link.url }}{% endif %}{{ child.url }}" title="{% if page.title == child.text %}Current Page {% else %}{{ child.text }}{% endif %}">{{ child.text }}</a> </li> {% endfor %} </ul> {% endif %} </li> {% endfor %} </ul> </nav> </aside>
Version data entries
6 entries across 6 versions & 1 rubygems