mirror of
https://github.com/thangisme/notes.git
synced 2025-02-21 06:57:46 -05:00
Revert "Update nav.html"
This reverts commit c282e4b0a7b27fc27b6cedc9bb67c992fef89dcf.
This commit is contained in:
parent
cfbc7f41df
commit
8a1e09ec5a
@ -10,6 +10,7 @@
|
||||
{%- endif -%}
|
||||
<a href="{{ node.url | absolute_url }}" class="navigation-list-link{% if page.url == node.url %} active{% endif %}">{{ node.title }}</a>
|
||||
{%- if node.has_children -%}
|
||||
{%- if page.url == node.url or page.parent == node.title or page.grand_parent == node.title -%}
|
||||
{%- assign children_list = site.html_pages | where: "parent", node.title | sort:"nav_order" -%}
|
||||
<ul class="navigation-list-child-list ">
|
||||
{%- for child in children_list -%}
|
||||
@ -34,6 +35,7 @@
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- endunless -%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user