diff --git a/.themes/classic/source/_includes/head.html b/.themes/classic/source/_includes/head.html
index d174112..be371e9 100644
--- a/.themes/classic/source/_includes/head.html
+++ b/.themes/classic/source/_includes/head.html
@@ -18,8 +18,8 @@
{% if page.keywords %}
{% endif %}
-
-
+ {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' }}{% endif %}{% endcapture %}
+