docpad-plugin-cleanurls
docpad-plugin-cleanurls copied to clipboard
hard-coded static env name
line 80 in your src plugin code there is :
Static
if 'static' in docpad.getEnvironments()
the static features could also be triggered by a custom parameters to not enforce static env name use. It could improve compatibility with other plugin using env specific rules.
Nice suggestion :+1: Any thoughts on what a possible implementation could look like?
i'm not enough familiar with docpad internals to know how to add custom parameters in config files or command line. Perhaps some time later, right now, i'm just discovering and testing docpad ecosystem.
Cool, no worries.
https://github.com/docpad/docpad-plugin-cleanurls/pull/14 ?
Fixed in v2.7.0. Note that I've made some changes, see the readme.