Skip to Main Content Ideas
Categories Visual Editor
Created by Daniel Marcus
Created on Aug 19, 2023

Preview URL should be able to take in a value, like an object mapping locales to the URL format

For instance, say one were to use the URL format of, this would mean that the site is localized to follow the format of /{country}/{language}. This means that for each page or section model, you have to duplicate your code of this object mapping to the locales, like it this case, it would be { 'en-US': 'usa/en' }. Would be nice if this could be passed in through code somehow, so Builder always understands this to be the URL format, while keeping it DRY.

  • Attach files