I have a bunch of routes in a directory, with a common __layout.svelte file, let's say a following structure:
- src
- routes
- common
- __layout.svelte
- page_a.svelte
- page_b.svelte
I'd like to know in __layout.svelte the name of the page I'm currently in. E.g. when I'm on /common/page_a I want __layout to display page_a. This would be easy if I'd have dynamic routing and a file [name].svelte, then I could access name value by page.params.name, but since these are static I don't know how to access it reliably in another way than parsing the URL.