---js { pagination: { data: "collections.all", size: 5, alias: "posts", before: function(posts) { return posts.sort((postA, postB) => new Date(postB.date) - new Date(postA.date)); }, }, } --- {{ title }} {{ content | safe }} {%- for post in posts -%} {{ post.data.title }} {%- endfor -%}