diff options
author | Evan Carroll <me@evancarroll.com> | 2020-02-18 09:20:17 -0600 |
---|---|---|
committer | Evan Carroll <me@evancarroll.com> | 2020-02-18 09:20:17 -0600 |
commit | 2bd8bdf7983b35cfb29aecbec829bac647725ee8 (patch) | |
tree | 77ad19954498f0c0edb9af777b290a5ba794f266 | |
parent | 0da7ba4abeb0bbb26112183f1e252ee4d39d630f (diff) |
Support rel=next and rel=previous
This resolves GH #1149
-rw-r--r-- | src/theme/index.hbs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theme/index.hbs b/src/theme/index.hbs index b205670f..8b362342 100644 --- a/src/theme/index.hbs +++ b/src/theme/index.hbs @@ -183,13 +183,13 @@ <nav class="nav-wide-wrapper" aria-label="Page navigation"> {{#previous}} - <a href="{{ path_to_root }}{{link}}" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left"> + <a rel="prev" href="{{ path_to_root }}{{link}}" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left"> <i class="fa fa-angle-left"></i> </a> {{/previous}} {{#next}} - <a href="{{ path_to_root }}{{link}}" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right"> + <a rel="next" href="{{ path_to_root }}{{link}}" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right"> <i class="fa fa-angle-right"></i> </a> {{/next}} |