--- layout: layouts/main.html pagination: data: collections.artGallery size: 24 reverse: true addAllPagesToCollections: true permalink: "{{ artSiteSettings.siteDirectory }}{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber + 1 }}/{% endif %}" eleventyComputed: title: "{% if pagination.pageNumber > 0 %}Page {{ pagination.pageNumber + 1 }}{% endif %}" --- {# This is the main gallery, everyone! Plus, it's divided into pages to browse at your own convenience. 24 is the default amount of artwork per page. If you'd like to change this, change the size property in the front matter. #} {%- import "components/gallery.njk" as c %} {% if pagination.pageNumber == 0 %} {% endif %}