Retrieve page/slug URL

How to retrieve the page/slug url?
The plasmic docs show that $ctx.params returns /path/[path_param]/ and $ctx.query returns /path?query_param=<value>). I’m wanting a normal page /path

I’m hoping to use the url slug to retrieve pagecount with an airtable query

Unfortunately I don’t think there is anything built in right now that supports letting you get as a dynamic value the static path of the current page, you can only get the slug params that you’ve defined

You also won’t be able to use window.location unless you opt out of static or server side rendering

Oh dang, guess I’m try something else :thinking_face: