Skip to content

Instantly share code, notes, and snippets.

@bennylope
Created February 23, 2012 19:50
Canonical URLs with Jekyll
<link rel="canonical" href="http://yourdomain.com{{ page.url | replace:'index.html','' }}" />
@elishaadamu
Copy link

Please where do I place this code in my Jekyll website?

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment