Merge branch 'v0.2.9' into default-nav-order

This commit is contained in:
Patrick Marsceill
2020-04-27 11:05:46 -04:00
committed by GitHub
25 changed files with 197 additions and 287 deletions

View File

@@ -22,6 +22,7 @@
{%- assign children_list = pages_list | where: "parent", node.title -%}
<ul class="navigation-list-child-list ">
{%- for child in children_list -%}
{%- unless child.nav_exclude -%}
<li class="navigation-list-item {% if page.url == child.url or page.parent == child.title %} active{% endif %}">
{%- if page.url == child.url or page.parent == child.title -%}
{%- assign second_level_url = child.url | absolute_url -%}
@@ -38,6 +39,7 @@
</ul>
{%- endif -%}
</li>
{%- endunless -%}
{%- endfor -%}
</ul>
{%- endif -%}