Skip to content

Commit d5b1676

Browse files
authored
Merge pull request rust-lang#2168 from pickfire/prefetch
Add prefetch to next link
2 parents 09f222b + c9f1d01 commit d5b1676

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
@@ -222,7 +222,7 @@
222222
{{/previous}}
223223

224224
{{#next}}
225-
<a rel="next" href="{{ path_to_root }}{{link}}" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
225+
<a rel="next prefetch" href="{{ path_to_root }}{{link}}" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
226226
<i class="fa fa-angle-right"></i>
227227
</a>
228228
{{/next}}
@@ -240,7 +240,7 @@
240240
{{/previous}}
241241

242242
{{#next}}
243-
<a rel="next" href="{{ path_to_root }}{{link}}" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
243+
<a rel="next prefetch" href="{{ path_to_root }}{{link}}" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
244244
<i class="fa fa-angle-right"></i>
245245
</a>
246246
{{/next}}

0 commit comments

Comments
 (0)