{# Load Content From Grav #} {% set attr_extra = particle.extra|attribute_array %} {% set article_settings = particle.article %} {% set filter = article_settings.filter %} {% set sort = article_settings.sort %} {% set limit = article_settings.limit %} {% set start = limit.start %} {% set display = article_settings.display %} {% set categories = filter.categories|split(' ') %} {% set collection = grav.page.collection( { items: {'@taxonomy.category': categories}, order: {by: sort.orderby, dir: sort.ordering}, url_taxonomy_filters: false }, false) %} {% set total = collection.count() %} {% set pages = collection.slice(start, limit.total) %}