diff --git a/_includes/seo.html b/_includes/seo.html
index 47c190e93b6c..8189a8ad103b 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 %}