[535f03]: / docs / _includes / docs_ul.html

Download this file

8 lines (7 with data), 287 Bytes

1
2
3
4
5
6
7
<ul>
{% for item in include.items %}
{% assign item_url = item | prepend:"/docs/" | append:"/" %}
{% assign p = site.docs | where:"url", item_url | first %}
<li class="{% if item_url == page.url %}current{% endif %}"><a href="{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
</ul>