diff options
author | Floyd Pink <imbleedingme@googlemail.com> | 2013-02-13 13:50:20 +0100 |
---|---|---|
committer | Parker Moore <parkrmoore@gmail.com> | 2013-02-13 13:51:25 +0100 |
commit | 510c6d602be599db76b3f840ae94236f90f06d7a (patch) | |
tree | 1a01120953f4cebc88d5d2bd14a10d7b4224ef19 /.themes | |
parent | f109abe9f6b3bd48ab8b24c85c5808dda67ef934 (diff) | |
download | my_new_personal_website-510c6d602be599db76b3f840ae94236f90f06d7a.tar.xz my_new_personal_website-510c6d602be599db76b3f840ae94236f90f06d7a.zip |
fixed issue #949 using @alexkirmse's patch
Diffstat (limited to '')
-rw-r--r-- | .themes/classic/source/_includes/head.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/_includes/head.html b/.themes/classic/source/_includes/head.html index d7abd6fd..75c76ccc 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' }}{% endif %}{% endcapture %} + {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{% if page.url contains site.category_dir %}/{% endif %}{{ 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"> |