Use new get_siblings() method.

get_prev_sibling and get_next_sibling removed in https://github.com/lektor/lektor/pull/118
This commit is contained in:
A. Jesse Jiryu Davis 2016-01-31 06:35:19 -05:00
parent d78db16dde
commit ff03293abc
1 changed files with 3 additions and 2 deletions

View File

@ -19,8 +19,9 @@
</div> </div>
{% endcall %} {% endcall %}
{% set older = this.get_next_sibling() %} {% set siblings = this.get_siblings() %}
{% set newer = this.get_prev_sibling() %} {% set older = siblings.next_page %}
{% set newer = siblings.prev_page %}
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-8 col-md-offset-2"> <div class="col-md-8 col-md-offset-2">