File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ I.e. left part of this expression (before 'if') is a true-branch of the statemen
68
68
69
69
{% assign children_list = site.pages | sort:"nav_order" %}
70
70
{% for child in children_list %}
71
- {% if child = page.parent %}
71
+ {% if child == page.parent %}
72
72
{% assign parent_page_info = child %}
73
73
{% endif %}
74
74
{% if child.parent == page.parent and child.title == page.title %}
@@ -81,6 +81,9 @@ I.e. left part of this expression (before 'if') is a true-branch of the statemen
81
81
forloop.next = {{ forloop.prev }}</br >
82
82
forloop.index = {{ forloop.prev }}</br >
83
83
<a href =" {{ child.url | absolute_url }} " >{{ child.title }}</a >
84
+ {% if not forloop.first %}
85
+ prev_url = {{ children_list[ forloop.index0 - 1] .url }}</br >
86
+ {% endif %}
84
87
{% endif %}
85
88
{% endfor %}
86
89
<p ><div align =" center " >< ; Prev | <a href =" {{ page.parent.url }} " >Up</a > | <a href =" main_statements.html " >Next > ; </a ></div ></p >
You can’t perform that action at this time.
0 commit comments