| ... | ... | @@ -16,7 +16,7 @@ | 
                    
                | 16 | 16 |    <meta name="MobileOptimized" content="320"> | 
                    
                | 17 | 17 |    <meta name="viewport" content="width=device-width, initial-scale=1"> | 
                    
                | 18 | 18 |   | 
                    
                | 19 |  | -  {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' }}{% endif %}{% endcapture %} | 
                    
                |  | 19 | +  {% 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 %} | 
                    
                | 20 | 20 |    <link rel="canonical" href="{{ canonical }}"> | 
                    
                | 21 | 21 |    <link href="{{ root_url }}/favicon.png" rel="icon"> | 
                    
                | 22 | 22 |    <link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css"> |