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:
parent
d78db16dde
commit
ff03293abc
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue