Understanding subpages

Thanks for your explanation, now I understand it better.
Yes, I read the “Creating pages” but I could not find anything related to the pages relationships.

In the end, the issue while trying to replicate the events example was that the page I created did not have the slug as “events”, but had a different one, so the site.find("events") failed.

Maybe extending the events example with clear instructions on having to create an Events page would help in that document.

Thank you!