Fixed canonical path

This commit is contained in:
Valentin Popov 2024-04-12 00:57:07 +04:00
parent 72844f5ca8
commit 9f0ff2e16d
Signed by: Valentin Popov
GPG Key ID: AE3CE523DAAA8401

View File

@ -13,7 +13,7 @@
<link href="{{- site.rss | absolute_url | url_escape -}}" rel="alternate" title="RSS" type="application/atom+xml"> <link href="{{- site.rss | absolute_url | url_escape -}}" rel="alternate" title="RSS" type="application/atom+xml">
<!-- Canonical URL --> <!-- Canonical URL -->
<link href="{{- page.url | absolute_url | url_escape -}}" rel="canonical"> <link href="{{- page.url | absolute_url | url_escape | replace: 'index.html', '' -}}" rel="canonical">
<!-- CSS --> <!-- CSS -->
{%- include styles.html -%} {%- include styles.html -%}