Replace `/index.html` in meta for pagination pages

This commit is contained in:
Ashwin Maroli 2023-01-30 16:21:36 +05:30
parent 6005f93781
commit a1adcdb4b9
1 changed files with 2 additions and 2 deletions

View File

@ -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 %}