Skip to content

Commit 138d667

Browse files
authored
Merge pull request #961 from wmonk/wm-tour-nav-links
Add "previous" And "next" To Tour Pages
2 parents d55fb55 + 9cc7997 commit 138d667

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

_layouts/tour.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,18 @@
99
<div class="content-primary documentation">
1010
<div class="inner-box">
1111
{{content}}
12-
</div>
12+
13+
<div class="two-columns">
14+
{% if page.previous-page %}
15+
<a href="{{page.previous-page}}">&larr; <strong>previous</strong></a>
16+
{% else %}
17+
<div></div>
18+
{% endif %}
19+
{% if page.next-page %}
20+
<a href="{{page.next-page}}"><strong>next</strong> &rarr;</a>
21+
{% endif %}
22+
</div>
23+
</div>
1324
</div>
1425

1526
<!-- TOC -->

0 commit comments

Comments
 (0)