renderizer

Loop for i in (1..10) with forloop.

i length index index0 rindex rindex0 first last
1 10 1 0 10 9 true false
2 10 2 1 9 8 false false
3 10 3 2 8 7 false false
4 10 4 3 7 6 false false
5 10 5 4 6 5 false false
6 10 6 5 5 4 false false
7 10 7 6 4 3 false false
8 10 8 7 3 2 false false
9 10 9 8 2 1 false false
10 10 10 9 1 0 false true

Continue loop {% continue %}

Skip anything in the hidden_pages array, but keep looping over the rest of the values.
{% assign hidden_pages = page.url %}

Break loop {% break %}

After we reach the “cutoff” page, stop the list and get on with whatever’s after the “for” loop.
{% assign cutoff_page = page.url %}