Skip to content

Commit 980ea57

Browse files
committed
next and prev attributes on the next and prev links, and #content
1 parent 8500d1c commit 980ea57

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/theme/index.hbs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@
2121
<link rel="stylesheet" href="tomorrow-night.css">
2222

2323
{{#previous}}
24-
<link rel="prev" href="{{link}}#content">
2524
{{/previous}}
2625

2726
{{#next}}
28-
<link rel="next" href="{{link}}#content">
2927
{{/next}}
3028

3129
<!-- MathJax -->
@@ -80,13 +78,13 @@
8078

8179
<!-- Mobile navigation buttons -->
8280
{{#previous}}
83-
<a href="{{link}}" class="mobile-nav-chapters previous">
81+
<a rel="prev" href="{{link}}#content" class="mobile-nav-chapters previous">
8482
<i class="fa fa-angle-left"></i>
8583
</a>
8684
{{/previous}}
8785

8886
{{#next}}
89-
<a href="{{link}}" class="mobile-nav-chapters next">
87+
<a rel="next" href="{{link}}#content" class="mobile-nav-chapters next">
9088
<i class="fa fa-angle-right"></i>
9189
</a>
9290
{{/next}}

0 commit comments

Comments
 (0)