From ff03293abce1679a2531bc78200266d77486a5e3 Mon Sep 17 00:00:00 2001 From: "A. Jesse Jiryu Davis" Date: Sun, 31 Jan 2016 06:35:19 -0500 Subject: [PATCH] Use new get_siblings() method. get_prev_sibling and get_next_sibling removed in https://github.com/lektor/lektor/pull/118 --- templates/blog-post.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/blog-post.html b/templates/blog-post.html index caa12f59..33714b83 100644 --- a/templates/blog-post.html +++ b/templates/blog-post.html @@ -19,8 +19,9 @@ {% endcall %} - {% set older = this.get_next_sibling() %} - {% set newer = this.get_prev_sibling() %} + {% set siblings = this.get_siblings() %} + {% set older = siblings.next_page %} + {% set newer = siblings.prev_page %}