Skip to content

Commit d306d9e

Browse files
authored
Update main_statements.md
1 parent ab589f2 commit d306d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage/main_statements.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ I.e. left part of this expression (before 'if') is a true-branch of the statemen
6868

6969
{% assign children_list = site.html_pages | sort:"nav_order" %}
7070
{% for child in children_list %}
71-
{% unless forloop.first %}
71+
{% unless forloop.first or current.parent != page.parent %}
7272
{% if cur_page == nil %}
7373
{% assign prev_page = current %}
7474
{% endif %}

0 commit comments

Comments
 (0)