/ Published in: HTML

How to display pages '5 through 9'..
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
{% setcontent records = "pages/latest/10" limit %} {# use 'for' to iterate over the records. #} {% for record in records %} {# we only want '5 to 9' #} {% if loop.index >= 5 and loop.index <= 9 %} <article> {{ record.introduction }} </article> {% endif %} {% enfdor %}
Comments
