History

Add canonical link to all pages

Thibaut committed 11 years ago

Commit 084d5721 parent 744d7ca1 file · +1 −0Browse files

Unified · Split

views/other.erb+1−0
@@ -7,6 +7,7 @@ · 6 unmodified lines
77 <meta name="format-detection" content="telephone=no">
88 <meta property="og:image" content="http://cdn.devdocs.io/images/icon-128.png">
99 <title>DevDocs<%= ": #{@doc['name']} API Documentation" if doc_index_page? %></title>
10+ <link rel="canonical" href="http://devdocs.io<%= request.path %>">
1011 <link rel="icon" type="image/x-icon" href="//cdn.devdocs.io/favicon.ico">
1112 <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">
1213 <link rel="stylesheet" href="<%= main_stylesheet_path %>" data-alt="<%= alternate_stylesheet_path %>">