diff --git a/_src/_includes/head.html b/_src/_includes/head.html
index 98a35599..d14c451d 100644
--- a/_src/_includes/head.html
+++ b/_src/_includes/head.html
@@ -45,6 +45,7 @@
{% else %}
{% endif %}
+
@@ -52,6 +53,9 @@
+ {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
+
+
{% if page.style %}
@@ -67,9 +71,7 @@
var total = {{ paginator.total_pages }};
{% endif %}
-
-
-
+