diff options
author | Valentin Popov <valentin@popov.link> | 2024-04-11 23:57:07 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-04-11 23:57:07 +0300 |
commit | 9f0ff2e16dce90a7e4686b26c6caf2ca6b667acb (patch) | |
tree | 1a7d5b7b99a481cdae4d7183dbf81fee0cfff1f2 /_includes/head.html | |
parent | 72844f5ca83e454ba1ac4a10196ddbb8f235a465 (diff) | |
download | popov.link-9f0ff2e16dce90a7e4686b26c6caf2ca6b667acb.tar.xz popov.link-9f0ff2e16dce90a7e4686b26c6caf2ca6b667acb.zip |
Fixed canonical path
Diffstat (limited to '_includes/head.html')
-rw-r--r-- | _includes/head.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/head.html b/_includes/head.html index d91ac74..9f65d57 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -13,7 +13,7 @@ <link href="{{- site.rss | absolute_url | url_escape -}}" rel="alternate" title="RSS" type="application/atom+xml"> <!-- 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 --> {%- include styles.html -%} |