We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab589f2 commit d306d9eCopy full SHA for d306d9e
docs/usage/main_statements.md
@@ -68,7 +68,7 @@ I.e. left part of this expression (before 'if') is a true-branch of the statemen
68
69
{% assign children_list = site.html_pages | sort:"nav_order" %}
70
{% for child in children_list %}
71
- {% unless forloop.first %}
+ {% unless forloop.first or current.parent != page.parent %}
72
{% if cur_page == nil %}
73
{% assign prev_page = current %}
74
{% endif %}
0 commit comments