urlPath generation with multisite setups.
dopry opened this issue · comments
Darrel O'Pry commented
In wagtail I have a site, example.com
, setup. The root page is Example located at /example.
When I query the pages over graphql they all come back with the urlPath /example/path/to/page
. I have code in my frontend that parses /example out of the path for every page to generate links. I kind of understand how wagtail's multisite is supposed to work but don't use it. Is there a way to get grapple or wagtail to return a urlPath relative to the site?