The value here seems to not be valid for any access method. Testing locally with ``uri`` match, I got a 404 back.

One option would be to pre-generate the correct URL root from the template (using ``ezurl``) and "store" it in a "data-" attribute somewhere easily selectable. Maybe @dpobel has better tips on how to do this?