@Karmalakas for working with admin panel e.g. you need php. But you can provide an static exported website to your visitors on another server for example.
There are several plugins you can use to generate a static export like blackhole.
uri.route is taken from Grav core where it parses page structure and frontmatter of each page to get slugs and what not. uri.query most likely taken from GLOBALS (probably $_REQUEST), so that might be the reason it’s empty on export. Query I guess is something you entered in some filter field or so and exporter definitely wouldn’t export such pages.
Ok. So uri.query() is based on php. I used it to get query params of current page url in twig template and added them to a string. Then I have to do it in another way…perhaps javascript.