mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-22 02:52:23 -06:00
patch: child.child_nav_order
to node.child_nav_order
(#1065)
This commit is contained in:
parent
1007fd5192
commit
059eaee8ed
@ -169,7 +169,7 @@
|
|||||||
{%- if node.has_children -%}
|
{%- if node.has_children -%}
|
||||||
{%- assign children_list = second_level_pages
|
{%- assign children_list = second_level_pages
|
||||||
| where: "parent", node.title -%}
|
| where: "parent", node.title -%}
|
||||||
{%- if node.child_nav_order == 'desc' or child.child_nav_order == 'reversed' -%}
|
{%- if node.child_nav_order == 'desc' or node.child_nav_order == 'reversed' -%}
|
||||||
{%- assign children_list = children_list | reverse -%}
|
{%- assign children_list = children_list | reverse -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
<ul class="nav-list ">
|
<ul class="nav-list ">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user