Just dropping this here to not forget.
Tried upgrading Jekyll to version 4 along with Jekyll plugins such as jekyll-paginator-v2. All seems good and a website is generated without apparent errors.
But the blog
and newsletters
collection pages are impacted.
Weirdly, the /blog/
page link has the menu being rewritten as if it was the /newsletter/
page.
The jekyll-paginator-v2
plugin seem at fault since when it is deactivated, the "rewrite" of the menu does not happen.
Also, jekyll-paginator-v2
seems to consider every blog post like it’s a newsletter
post and displays a subscribe
button below each blog article, although that’s not the behavior expected.
Have not found a fix yet. Played around with yaml options without success.