aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2012-06-03 07:46:58 -0700
committerBrandon Mathis <brandon@imathis.com>2012-06-03 07:46:58 -0700
commit90ef78edb30218171351eb52c1f4f3c0212eb41e (patch)
tree0d7f968211c7a4d64ce409d47396083ee22ad942 /.themes/classic/source/_includes
parente53b26ad3042d5657c869ab1961c35e7b716e4e9 (diff)
parentf3c68bb73f4763c52dbdfc9d958707e3816d0475 (diff)
downloadmy_new_personal_website-90ef78edb30218171351eb52c1f4f3c0212eb41e.tar.xz
my_new_personal_website-90ef78edb30218171351eb52c1f4f3c0212eb41e.zip
Merge pull request #592 from omasanori/fix-rel-canonical
Do not strip trailing slash of canonical URLs.
Diffstat (limited to '.themes/classic/source/_includes')
-rw-r--r--.themes/classic/source/_includes/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/_includes/head.html b/.themes/classic/source/_includes/head.html
index 0fdc4019..d7abd6fd 100644
--- a/.themes/classic/source/_includes/head.html
+++ b/.themes/classic/source/_includes/head.html
@@ -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">