From 728bdad5ca20de107e88a9cbd75757126a2b8bd5 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sat, 17 Sep 2011 09:40:14 -0500 Subject: removes index.html from canonical urls. closes #153 --- .themes/classic/source/_includes/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.themes/classic/source') diff --git a/.themes/classic/source/_includes/head.html b/.themes/classic/source/_includes/head.html index d1741120..be371e92 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 %} + -- cgit v1.2.1