We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcd093f commit 886537bCopy full SHA for 886537b
docs/usage/main_statements.md
@@ -72,8 +72,9 @@ I.e. left part of this expression (before 'if') is a true-branch of the statemen
72
{% assign prev_page = current %}
73
{% endunless %}
74
{% unless cur_page == nil %}
75
- {% assign next_page = child %}
76
- {% break %}
+ {% if next_page == nil %}
+ {% assign next_page = child %}
77
+ {% endif %}
78
79
{% assign current = child %}
80
{% if child.title == page.parent %}
0 commit comments