{% set siblings = this.get_siblings() %} {% if siblings.prev_page %}previous{% endif %} {% if siblings.next_page %}next{% endif %}