Skip to content

Commit 4039c72

Browse files
authored
Merge pull request #1150 from EvanCarroll/master
Support rel=next and rel=previous
2 parents 0da7ba4 + 2bd8bdf commit 4039c72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/theme/index.hbs

+2-2
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@
183183

184184
<nav class="nav-wide-wrapper" aria-label="Page navigation">
185185
{{#previous}}
186-
<a href="{{ path_to_root }}{{link}}" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
186+
<a rel="prev" href="{{ path_to_root }}{{link}}" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
187187
<i class="fa fa-angle-left"></i>
188188
</a>
189189
{{/previous}}
190190

191191
{{#next}}
192-
<a href="{{ path_to_root }}{{link}}" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
192+
<a rel="next" href="{{ path_to_root }}{{link}}" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
193193
<i class="fa fa-angle-right"></i>
194194
</a>
195195
{{/next}}

0 commit comments

Comments
 (0)