polyglot
polyglot copied to clipboard
Unnecessary URL Conversion
Let's say I have a link like /about
, it gets translated (e.g. /es/about
). But if I use a link like //fonts.googleapis.com/css?family=Lato
for CDN, it also gets translated to /es//fonts.googleapis.com/css?family=Lato
. Could this behaviour be avoided? Thank you.
@ShawnTeoh , does exclude: [regex1, regex2, ...]
answer your question?
See https://github.com/untra/polyglot/blob/master/site/_config.yml#L36
On the other hand, /es//whatever.com/...
is a strange url
Oh @ShawnTeoh did you add a space after href
to override polyglot?
href=" //fonts.googleapis.com/css?family=Lato"