Fixes #4 by parsing context locale from page.filePathStem instead of page.url.
This should be considered a breaking change, especially because of regexp.
Also because filePathStem is used required minimum supported 11ty version is 0.9.0+ Nvm, it's already described in peerDependencies as ^0.11.0 so nothing changes here
Fixes #4 by parsing context locale from
page.filePathStem
instead ofpage.url
.This should be considered a breaking change, especially because of regexp.
Also because filePathStem is used required minimum supported 11ty version is 0.9.0+Nvm, it's already described in peerDependencies as^0.11.0
so nothing changes here