aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-04-11 23:57:07 +0300
committerValentin Popov <valentin@popov.link>2024-04-11 23:57:07 +0300
commit9f0ff2e16dce90a7e4686b26c6caf2ca6b667acb (patch)
tree1a7d5b7b99a481cdae4d7183dbf81fee0cfff1f2
parent72844f5ca83e454ba1ac4a10196ddbb8f235a465 (diff)
downloadvalentineus.github.io-9f0ff2e16dce90a7e4686b26c6caf2ca6b667acb.tar.xz
valentineus.github.io-9f0ff2e16dce90a7e4686b26c6caf2ca6b667acb.zip
Fixed canonical path
-rw-r--r--_includes/head.html2
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 -%}