--- pagination: data: collections.posts size: 9 alias: posts reverse: true --- {% extends "baselayout.njk" %} {% block main %} {%- for post in posts -%} {{ post.data.title }} {{ post.data.description }} {{ post.data.date.toDateString() }} {{ post.templateContent | emojiReadTime }} {%- endfor -%} {% endblock %} {% block footer %} {% if pagination.href.previous %} Previous {% endif %} {%- for pageEntry in pagination.pages %} {{ loop.index }} {%- endfor %} {% if pagination.href.next %} Next {% endif %} {% endblock %}
{{ post.data.description }}