Skip to content

Use latest jekyll-polyglot from upstream

Relates to #585

Fixes #799

The crux of the issue, as I understand it, was that page.permalink was — for reasons beyond me — somehow empty, when — despite amicable efforts to sidestep it eg by resorting to page.url — it shouldn't be in the first place.

The current fork of jekyll-polyglot in use seems to be essentially 1.8.0 from upstream. I bumped to the latest polyglot release (1.11.0) just to test and that seems to fix the issue.

I didn't bisect the intermediate releases; but I'd wager the relevant fix was one that landed in 1.8.1.

Addresses #848

I don't have an opinion one way or the other; but I see two practical alternatives:

  • If the bump to 1.11.0 sounds too bumpy, one might (try to) stick with the current jekyll-polyglot fork (a little bit longer) and sync it with 1.8.1 upstream (essentially do a point upgrade; though I didn't specifically test this version)
  • #848 suggests the jekyll-polyglot fork has served its historic troubleshooting purpose and it's probably time to embrace the latest release. This MR might be of assistance to move on.

Either way, bumping jekyll-polyglot version seems to be key to solve the immediate issue at hand.

Closes #794

I don't have personal knowledge of Fedi (and naturally won't be able to test); but if the logic in #794 follows, this together with the other MR that addresses a related (spaces in description) issue, should fix and close the immediate Fedi preview bug.

Eg: the post on 'F-Droid and Google's Developer Registration Decree'

Given the _include template:

  <link rel="alternate" hreflang="x-default" href='{{ page.permalink | replace:'index.html','' | absolute_url }}'>

   🔍   a<link> based on page.permalink

Current F-Droid website (jekyll-polyglot 1.8.0) :

  <link rel="alternate" hreflang="x-default" href='https://f-droid.org/'>

   🔍page.permalink appears to be empty

This MR (jekyll-polyglot 1.11.0) :

  <link rel="alternate" hreflang="x-default" href='https://ray2c.gitlab.io/fdroid-website/2025/09/29/google-developer-registration-decree.html'>

   🔍page.permalink points to page URL

Edited by Ray c

Merge request reports

Loading