Fixed improper canonical url
authorBrandon Mathis <brandon@imathis.com>
Thu, 15 Jan 2015 00:30:26 +0000 (18:30 -0600)
committerBrandon Mathis <brandon@imathis.com>
Thu, 15 Jan 2015 00:30:37 +0000 (18:30 -0600)
.themes/classic/source/_includes/head.html

index 2cba5b8..3d2cc88 100644 (file)
@@ -16,7 +16,7 @@
   <meta name="MobileOptimized" content="320">
   <meta name="viewport" content="width=device-width, initial-scale=1">
 
-  {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
+  {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' }}{% endif %}{% endcapture %}
   <link rel="canonical" href="{{ canonical }}">
   <link href="{{ root_url }}/favicon.png" rel="icon">
   <link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">