diff --git a/source/layouts/layout.haml b/source/layouts/layout.haml index f82a142..b77016d 100644 --- a/source/layouts/layout.haml +++ b/source/layouts/layout.haml @@ -34,6 +34,8 @@ = stylesheet_link_tag :application %link{rel: :stylesheet, type: 'text/css', href: '//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400'} %link{rel: 'author', type: 'text/plain', href: '/humans.txt'} + - if current_page.data.canonical + %link{rel: 'canonical', href: current_page.data.canonical} %body{class: "#{page_class} nav-closed"} = partial(:navigation)