work.suroh.tk/node_modules/@11ty/eleventy/test/stubs/paged/pagedinlinedata-reverse.njk

16 lines
219 B
Plaintext

---
pagination:
data: testdata
size: 4
reverse: true
testdata:
- item1
- item2
- item3
- item4
- item5
- item6
- item7
- item8
---
<ol>{% for item in pagination.items %}<li>{{ item }}</li>{% endfor %}</ol>