jekyll-multiple-languages-plugin icon indicating copy to clipboard operation
jekyll-multiple-languages-plugin copied to clipboard

absolute_url broken with Jekyll 4.1.0

Open megastep opened this issue 5 years ago • 4 comments

I am working on a website that's translated using the jekyll-multiple-languages-plugin. I just tried to upgrade from Jekyll 4.0 to Jekyll 4.1.0 (the current version right now) and suddenly it appears that the absolute_url filter is broken.

The behavior in previous versions of Jekyll would be that it would prepend the locale subdirs as necessary; however as of Jekyll 4.1 it is now always returning the root of the site regardless of the language being processed. This breaks many links on my site, of course.

I am not sure if this is a temporary issue in Jekyll itself or something that should be addressed in this plugin, but I think you should be aware of this in case you can address it.

megastep avatar Jun 04 '20 01:06 megastep

It's probably related with this pull request: https://github.com/jekyll/jekyll/pull/7793

torrocus avatar Jun 30 '20 11:06 torrocus

Unfortunately, this problem needs to be solved on the side of this plugin. The problem concerns not only absolute_url, but also relative_url.

torrocus avatar Jul 03 '20 09:07 torrocus

True, relative_url filter is broken for me too.

kleuter avatar Jul 03 '20 19:07 kleuter

I am unable to reproduce it, can you provide an example?

shushugah avatar Nov 14 '20 20:11 shushugah