aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 -%}