Closed michael4snupps closed 9 years ago
Add new config.json entry, "patchUrl", which is a dictionary of regex searches (keys) and corresponding replacements (values).
These rules are applied to URL links when they are automatically generated from the contents directory structure.
This allows, for example, using one wintersmith contents directory to contain content for multiple virtual sites.
Not sure about this, any reason it can't be done in a plugin by subclassing and overriding getURL?
Add new config.json entry, "patchUrl", which is a dictionary of regex searches (keys) and corresponding replacements (values).
These rules are applied to URL links when they are automatically generated from the contents directory structure.
This allows, for example, using one wintersmith contents directory to contain content for multiple virtual sites.