Sha256: 1413cf8ce30958a6bffef374df732ab4efbffe4491f2a110ffc77e9ec42ac275
Contents?: true
Size: 952 Bytes
Versions: 37
Compression:
Stored size: 952 Bytes
Contents
{% capture html %} <ul> {% if include.context == "/" %} <li class="{% if page.url == "/" %}active{% endif %}"> <a href="{{ site.github.url }}/{{ site.title }}"</a> </li> {% endif %} {% assign entries = site.pages | sort: "path" %} {% for entry in entries %} {% capture slug %}{{ entry.url | split: "/" | last }}{% endcapture %} {% capture current %}{{ entry.url | remove: slug | remove: "//" | append: "/" }}{% endcapture %} {% if current == include.context %} <li class="{% if page.url contains entry.url %}active{% endif %}"> <a href="{{ site.github.url }}{{ entry.url }}">{{ entry.title }}</a> {% include navigation.html context=entry.url %} </li> {% endif %} {% endfor %} </ul> {% endcapture %}{{ html | strip_newlines | replace:' ','' | replace:' ','' | replace:' ',' ' }}
Version data entries
37 entries across 37 versions & 2 rubygems