Skip to content

Commit c9f1d01

Browse files
committed
Add prefetch to next link
Fix #1975
1 parent 56c225b commit c9f1d01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/theme/index.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
{{/previous}}
218218

219219
{{#next}}
220-
<a rel="next" href="{{ path_to_root }}{{link}}" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
220+
<a rel="next prefetch" href="{{ path_to_root }}{{link}}" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
221221
<i class="fa fa-angle-right"></i>
222222
</a>
223223
{{/next}}
@@ -235,7 +235,7 @@
235235
{{/previous}}
236236

237237
{{#next}}
238-
<a rel="next" href="{{ path_to_root }}{{link}}" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
238+
<a rel="next prefetch" href="{{ path_to_root }}{{link}}" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
239239
<i class="fa fa-angle-right"></i>
240240
</a>
241241
{{/next}}

0 commit comments

Comments
 (0)