Fixes minor spacing and comment nits (#1128)

This PR simply fixes a few spacing and comment nits I found.
This commit is contained in:
Eric Knibbe
2023-01-10 14:23:21 -05:00
committed by GitHub
parent c296f914af
commit 49d004f271
6 changed files with 12 additions and 13 deletions

View File

@@ -58,7 +58,7 @@
{%- endunless -%}
{%- assign nav_order_pages = title_pages
| where_exp: "item", "item.nav_order != nil" -%}
| where_exp: "item", "item.nav_order != nil" -%}
{%- assign title_order_pages = title_pages
| where_exp: "item", "item.nav_order == nil" -%}
@@ -174,7 +174,7 @@
{%- if node.child_nav_order == 'desc' or node.child_nav_order == 'reversed' -%}
{%- assign children_list = children_list | reverse -%}
{%- endif -%}
<ul class="nav-list ">
<ul class="nav-list">
{%- for child in children_list -%}
{%- unless child.nav_exclude -%}
<li class="nav-list-item {% if page.url == child.url or page.parent == child.title %} active{% endif %}">