|
17 | 17 | </section>
|
18 | 18 |
|
19 | 19 | <section class="page-ref">
|
20 |
| - {% if page.home and page.tutorial %} |
21 |
| - Tutorial : <a href="{{ page.home }}">{{ page.tutorial }}</a> |
| 20 | + {% if page.tutorial.link and page.tutorial.name %} |
| 21 | + Tutorial : <a href="{{ page.tutorial.link }}">{{ page.tutorial.name }}</a> |
22 | 22 | {% endif %}
|
23 | 23 | </section>
|
24 | 24 |
|
|
34 | 34 | <!-- start pagination -->
|
35 | 35 | <div class="pager pager--top-separator pager--em">
|
36 | 36 | <section class="pager__older">
|
37 |
| - {% if page.previous %} |
38 |
| - <a href="{{ page.previous }}" title="Previous chapter">← Previous</a> |
| 37 | + {% if page.links.previous %} |
| 38 | + <a href="{{ page.links.previous }}" title="Previous chapter">← Previous</a> |
39 | 39 | {% endif %}
|
40 | 40 | </section>
|
41 | 41 |
|
42 |
| - {% if page.home %} |
| 42 | + {% if page.links.summary %} |
43 | 43 | <section class="pager__ref">
|
44 |
| - <a href="{{ page.home | remove: 'index.html' }}#summary" title="Summary">Summary</a> |
| 44 | + <a href="{{ page.links.summary | remove: 'index.html' }}" title="Summary">Summary</a> |
45 | 45 | </section>
|
46 | 46 | {% endif %}
|
47 | 47 |
|
48 | 48 | <section class="pager__newer">
|
49 |
| - {% if page.next %} |
50 |
| - <a href="{{ page.next }}" title="Next chapter">Next →</a> |
| 49 | + {% if page.links.next %} |
| 50 | + <a href="{{ page.links.next }}" title="Next chapter">Next →</a> |
51 | 51 | {% endif %}
|
52 | 52 | </section>
|
53 | 53 | </div>
|
@@ -78,20 +78,20 @@ <h2 class="entry__title">
|
78 | 78 | <!-- start pagination -->
|
79 | 79 | <div class="pager pager--bottom-separator pager--em">
|
80 | 80 | <section class="pager__older">
|
81 |
| - {% if page.previous %} |
82 |
| - <a href="{{ page.previous }}" title="Previous chapter">← Previous</a> |
| 81 | + {% if page.links.previous %} |
| 82 | + <a href="{{ page.links.previous }}" title="Previous chapter">← Previous</a> |
83 | 83 | {% endif %}
|
84 | 84 | </section>
|
85 | 85 |
|
86 |
| - {% if page.home %} |
| 86 | + {% if page.links.summary %} |
87 | 87 | <section class="pager__ref">
|
88 |
| - <a href="{{ page.home | remove: 'index.html' }}#summary" title="Summary">Summary</a> |
| 88 | + <a href="{{ page.links.summary | remove: 'index.html' }}" title="Summary">Summary</a> |
89 | 89 | </section>
|
90 | 90 | {% endif %}
|
91 | 91 |
|
92 | 92 | <section class="pager__newer">
|
93 |
| - {% if page.next %} |
94 |
| - <a href="{{ page.next }}" title="Next chapter">Next →</a> |
| 93 | + {% if page.links.next %} |
| 94 | + <a href="{{ page.links.next }}" title="Next chapter">Next →</a> |
95 | 95 | {% endif %}
|
96 | 96 | </section>
|
97 | 97 | </div>
|
|
0 commit comments