{% assign current_path = page.url | split: '/' %}
{% assign docs = (site.docs | sort: "order" ) %}
{% for node in docs %}
	{% assign path = node.url | split: '/' %}
	{% assign level = path | size %}
	{% if level <= 3 # Not a subfolder %}
		<li>
			<a
				href="{{ node.url }}"
				{% if page.url == node.url or current_path[2] == path[2] %}class="active"{% endif %}
			>
				{{ node.title }}
			</a>
		</li>
	{% endif %}
{% endfor %}

{% assign current_path = page.url | split: '/' %}
{% assign docs = (site.docs | sort: "order" ) %}
{% for node in docs %}
	{% assign path = node.url | split: '/' %}
	{% assign level = path | size %}
	{% if level <= 3 # Not a subfolder %}
		<li>
			<a
				href="{{ node.url }}"
				{% if page.url == node.url or (level > 2 and current_path[2] == path[2]) %}class="active"{% endif %}
			>
				{{ node.title }}
			</a>
		</li>
	{% endif %}
{% endfor %}

Fix /docs highlighted as active incorrectly
Fix /docs highlighted as active incorrectly

Fixes #176