Replace `/index.html` in meta for pagination pages
This commit is contained in:
parent
6005f93781
commit
a1adcdb4b9
|
@ -51,10 +51,10 @@
|
|||
{% endif %}
|
||||
|
||||
{% if paginator.previous_page %}
|
||||
<link rel="prev" href="{{ paginator.previous_page_path | absolute_url }}" />
|
||||
<link rel="prev" href="{{ paginator.previous_page_path | absolute_url | replace: '/index.html', '/' }}" />
|
||||
{% endif %}
|
||||
{% if paginator.next_page %}
|
||||
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}" />
|
||||
<link rel="next" href="{{ paginator.next_page_path | absolute_url | replace: '/index.html', '/' }}" />
|
||||
{% endif %}
|
||||
|
||||
{% if seo_tag.image %}
|
||||
|
|
Loading…
Reference in New Issue