This is the header of index page. This is served by index.js.

---

Pages' routing feature enables dynamic routes.

Single path segments

Workers routed to /example1/[singlepath].js will serve /example1/page1 or even /example1/page2

but not /example1/exercises1/content or /example2/page1

Additionally, the worker serving you now is serving index.js exclusively.

If you go to /example1 or /example1/, [singlepath].js will not serve you.

Multipath segments

Workers routed to /example2/[[multipath]].js will serve depths like /example2, /example2/page1, /example2/*/page1 and beyond

Unlike single paths, multipaths will actually serve /example2/

Additionally, the worker serving you now is serving index.html, per Cloudflare documentation on re-routing to nearest static asset for multipath segments

Accessing /example2 will also invoke the multipath worker, but will not serve anything.

---

This is the footer of index page. This is served by index.js