From 6d31ffe4abfbba82f06cf412571678150d98802f Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 11 Jul 2016 11:56:09 -0400 Subject: [PATCH] Indicate the relationship between component URLs in a paginated series - Apply rel="prev" and rel="next" to pages that use site.paginator - Ref ~> https://webmasters.googleblog.com/2011/09/pagination-with-relnext-and-relprev.html - Close #253 --- _includes/seo.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/_includes/seo.html b/_includes/seo.html index 47c190e9..8189a8ad 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -92,12 +92,13 @@ {% if page.date %} - {% if page.next.url %} - - {% endif %} - {% if page.previous.url %} - - {% endif %} +{% endif %} + +{% if paginator.previous_page %} + +{% endif %} +{% if paginator.next_page %} + {% endif %} {% if site.og_image %}