jekyll/jekyll-seo-tag

Problem in link rel=next/prev code

sasadangelo opened this issue · 3 comments

Hi,

According to this discussion
#482

I am opening this issue because there is a bug in this code:

{% if paginator.previous_page %}
<link rel="prev" href="{{ paginator.previous_page_path | absolute_url }}" />
{% endif %}
{% if paginator.next_page %}
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}" />
{% endif %}

that. generates in my website:
https://www.code4projects.net/blog/page/2/

This code:

<link rel="prev" href="https://www.code4projects.net/blog/index.html" />
<link rel="next" href="https://www.code4projects.net/blog/page/3/index.html" />

with extra index.html suffix.

Hi,
Any updates? Is there aany chance to have this problem fixed?

@sasadangelo, since you're deploying your site via GH Actions, you may patch this with the following in your Gemfile. (There is no ETA regarding when a release will be shipped with this patch).

gem "jekyll-seo-tag", github: "jekyll/jekyll-seo-tag", ref: "refs/pull/484/head"

Ok thank you. Please let me know when it will be available in a next release.