Skip to content

Instantly share code, notes, and snippets.

@glidenote
Created April 12, 2012 07:12
Show Gist options
  • Save glidenote/2365383 to your computer and use it in GitHub Desktop.
Save glidenote/2365383 to your computer and use it in GitHub Desktop.
octopress head.html.diff
diff --git a/source/_includes/head.html b/source/_includes/head.html
index 0fdc401..198cd0d 100644
--- a/source/_includes/head.html
+++ b/source/_includes/head.html
@@ -17,7 +17,7 @@
<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 %}
- <link rel="canonical" href="{{ canonical }}">
+ <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">
<script src="{{ root_url }}/javascripts/modernizr-2.0.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment