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
7 <meta name="format-detection" content="telephone=no">7 <meta name="format-detection" content="telephone=no">
8 <meta property="og:image" content="http://cdn.devdocs.io/images/icon-128.png">8 <meta property="og:image" content="http://cdn.devdocs.io/images/icon-128.png">
9 <title>DevDocs<%= ": #{@doc['name']} API Documentation" if doc_index_page? %></title>9 <title>DevDocs<%= ": #{@doc['name']} API Documentation" if doc_index_page? %></title>
10 <link rel="canonical" href="http://devdocs.io<%= request.path %>">
10 <link rel="icon" type="image/x-icon" href="//cdn.devdocs.io/favicon.ico">11 <link rel="icon" type="image/x-icon" href="//cdn.devdocs.io/favicon.ico">
11 <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">12 <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">
12 <link rel="stylesheet" href="<%= main_stylesheet_path %>" data-alt="<%= alternate_stylesheet_path %>">13 <link rel="stylesheet" href="<%= main_stylesheet_path %>" data-alt="<%= alternate_stylesheet_path %>">