Alright guys, I really can’t figure out what is happening here. I’ve found a “workaround” so there is no urgency, but maybe this’ll make a nice little puzzle
I have ten child pages. Their page titles start with either “2-level” or “4-level”. There’s five child pages of each:
- 2-level-first-page
- 2-level-second-page
- et cetera
- 4-level-sixth-page
- 4-level-seventh-page
- et cetera
I realize Kirby uses a number and dash to order visible child pages.
In my template, the foreach loop shows nine out of ten child pages. The one page it “forgets” is the fifth page, so that’s the last of the “2-level” pages.
All pages have a similar content structure. My foreach loop doesn’t limit to nine items.
As I said, I’ve found a workaround - I’ve added separate numbers to all pages to make them visible and manually order them. But I just can’t figure out why that specific page won’t show up in my loop…