mirror of
https://github.com/meineerde/holgerjust.de.git
synced 2026-02-21 19:12:05 +00:00
Allow to define a canonical link per page
This commit is contained in:
parent
f6dfe0eb11
commit
69c56b7205
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user