next and prev attributes on the next and prev links, and #content

This commit is contained in:
Jesse Millikan 2017-03-19 16:21:38 -04:00
parent 8500d1c8a7
commit 980ea5796e
1 changed files with 2 additions and 4 deletions

View File

@ -21,11 +21,9 @@
<link rel="stylesheet" href="tomorrow-night.css">
{{#previous}}
<link rel="prev" href="{{link}}#content">
{{/previous}}
{{#next}}
<link rel="next" href="{{link}}#content">
{{/next}}
<!-- MathJax -->
@ -80,13 +78,13 @@
<!-- Mobile navigation buttons -->
{{#previous}}
<a href="{{link}}" class="mobile-nav-chapters previous">
<a rel="prev" href="{{link}}#content" class="mobile-nav-chapters previous">
<i class="fa fa-angle-left"></i>
</a>
{{/previous}}
{{#next}}
<a href="{{link}}" class="mobile-nav-chapters next">
<a rel="next" href="{{link}}#content" class="mobile-nav-chapters next">
<i class="fa fa-angle-right"></i>
</a>
{{/next}}