{% if pagination and pagination.prev %} {% endif %} {% if pagination and pagination.next %} {% endif %} {% macro random_button(p) %} {% endmacro %} {% if background %}
{% endif %}

{{ heading }}

{% if pagination %}Page {{ pagination.current }} / {{ pagination.total }}{% endif %} {% if items|selectattr("source")|list %} {% endif %}

Images on this page - {{ page_count }}, on this board - {{ board_count }}

{% if pagination %}
{{ random_button(pagination) }}
{% endif %}
{% for item in items %}
{% if item.is_video %} {% else %} {{ item.name }} {% endif %} {% if item.source %} ↗ Pinterest {% endif %}
{% endfor %}
{% if pagination %} {% endif %}