diff --git a/_includes/nav.html b/_includes/nav.html index accfd89..a2aa2d6 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -66,7 +66,11 @@ {%- endif -%} {{ node.title }} {%- if node.has_children -%} - {%- assign children_list = pages_list | where: "parent", node.title -%} + {%- if node.child_nav_order == 'desc' -%} + {%- assign children_list = pages_list | where: "parent", node.title | reverse -%} + {%- else -%} + {%- assign children_list = pages_list | where: "parent", node.title -%} + {%- endif -%}