mirror of
https://github.com/lektor/lektor-website.git
synced 2025-04-03 08:55:37 +02:00
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…
x
Reference in New Issue
Block a user