add next/prev links in head
authorDan Allen <dan@opendevise.com>
Tue, 28 Apr 2020 23:27:09 +0000 (17:27 -0600)
committerDan Allen <dan@opendevise.com>
Wed, 29 Apr 2020 01:51:52 +0000 (19:51 -0600)
src/partials/head-info.hbs

index e6e9112..7eb1107 100644 (file)
@@ -1,6 +1,12 @@
     {{#with page.canonicalUrl}}
     <link rel="canonical" href="{{this}}">
     {{/with}}
+    {{#with page.previous}}
+    <link rel="prev" href="{{{relativize ./url}}}">
+    {{/with}}
+    {{#with page.next}}
+    <link rel="next" href="{{{relativize ./url}}}">
+    {{/with}}
     {{#with page.description}}
     <meta name="description" content="{{this}}">
     {{/with}}