0 | minus: 1 }}{% endif %}{% endcapture %}
                                            {% assign prev_index = prev_index | times: 1 %}
                                            {% capture next_item_id %}{{ children[next_index].objectid }}{% endcapture %}
                                            {% capture prev_item_id %}{{ children[prev_index].objectid }}{% endcapture %}
                                            <div class="col-1 col-md-2">
                                                <button data